Bug 485576 - Fix a few minor gcc warnings. r=igor

This commit is contained in:
Andrew Paprocki
2009-03-27 15:45:48 -07:00
parent 3de347548f
commit d9dd77b879
4 changed files with 5 additions and 8 deletions

View File

@@ -969,8 +969,8 @@ 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) ? JSOP_GETPROP
: (op == JSOP_GETELEM2) ? JSOP_GETELEM
ss->opcodes[top] = (op == JSOP_GETPROP2) ? (jsbytecode) JSOP_GETPROP
: (op == JSOP_GETELEM2) ? (jsbytecode) JSOP_GETELEM
: (jsbytecode) op;
ss->top = ++top;
AddParenSlop(ss);