Fix warnings compiling with gcc 4.5. rs=brendan

This commit is contained in:
Jeff Walden
2010-11-22 11:53:38 -05:00
parent 049dc5ad87
commit 7dedfa32b1
4 changed files with 21 additions and 19 deletions

View File

@@ -61,7 +61,16 @@ typedef enum JSOp {
op = val,
#include "jsopcode.tbl"
#undef OPDEF
JSOP_LIMIT
JSOP_LIMIT,
/*
* These pseudo-ops help js_DecompileValueGenerator decompile JSOP_SETNAME,
* JSOP_SETPROP, and JSOP_SETELEM, respectively. They are never stored in
* bytecode, so they don't preempt valid opcodes.
*/
JSOP_GETPROP2 = JSOP_LIMIT,
JSOP_GETELEM2 = JSOP_LIMIT + 1,
JSOP_FAKE_LIMIT = JSOP_GETELEM2
} JSOp;
/*