Bug 461248 - Remove JSOP_RESUME (r=gal/jorendorff).

This commit is contained in:
Brendan Eich
2008-10-24 12:34:08 -07:00
parent 00b3d04266
commit eb0f0aad56
8 changed files with 86 additions and 78 deletions

View File

@@ -118,6 +118,8 @@ typedef enum JSOp {
#define JOF_TMPSLOT_SHIFT 22
#define JOF_TMPSLOT_MASK (JS_BITMASK(2) << JOF_TMPSLOT_SHIFT)
#define JOF_RETVAL (1U<<24) /* op leaves jsval return value on stack */
/* 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)