Bug 674776 - Fix trap problem in js_GetOpcode (r=jorendorff)
This commit is contained in:
@@ -224,7 +224,8 @@ typedef enum JSOp {
|
||||
#define GET_INDEX(pc) GET_UINT16(pc)
|
||||
#define SET_INDEX(pc,i) ((pc)[1] = INDEX_HI(i), (pc)[2] = INDEX_LO(i))
|
||||
|
||||
#define GET_INDEXBASE(pc) (JS_ASSERT(*(pc) == JSOP_INDEXBASE), \
|
||||
#define GET_INDEXBASE(pc) (JS_ASSERT(*(pc) == JSOP_INDEXBASE \
|
||||
|| *(pc) == JSOP_TRAP), \
|
||||
((uintN)((pc)[1])) << 16)
|
||||
#define INDEXBASE_LEN 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user