Return of the property cache (365851, r=shaver).

This commit is contained in:
2008-02-07 15:18:45 -08:00
parent 8877d9856d
commit 55884275d1
28 changed files with 1809 additions and 472 deletions

View File

@@ -124,6 +124,10 @@ typedef enum JSOpLength {
to root intermediate objects */
#define JOF_TMPSLOT_SHIFT 23
/* Shorthands for type from format and type from opcode. */
#define JOF_TYPE(fmt) ((fmt) & JOF_TYPEMASK)
#define JOF_OPTYPE(op) JOF_TYPE(js_CodeSpec[op].format)
/* Shorthands for mode from format and mode from opcode. */
#define JOF_MODE(fmt) ((fmt) & JOF_MODEMASK)
#define JOF_OPMODE(op) JOF_MODE(js_CodeSpec[op].format)