Bug 486029 - Use C++ style casts in more places. r=brendan
This commit is contained in:
@@ -980,9 +980,9 @@ PushOff(SprintStack *ss, ptrdiff_t off, JSOp op)
|
||||
|
||||
/* The opcodes stack must contain real bytecodes that index js_CodeSpec. */
|
||||
ss->offsets[top] = off;
|
||||
ss->opcodes[top] = (op == JSOP_GETPROP2) ? (jsbytecode) JSOP_GETPROP
|
||||
: (op == JSOP_GETELEM2) ? (jsbytecode) JSOP_GETELEM
|
||||
: (jsbytecode) op;
|
||||
ss->opcodes[top] = jsbytecode((op == JSOP_GETPROP2) ? JSOP_GETPROP
|
||||
: (op == JSOP_GETELEM2) ? JSOP_GETELEM
|
||||
: op);
|
||||
ss->top = ++top;
|
||||
AddParenSlop(ss);
|
||||
return JS_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user