Compile JSOP_HOLE, JSOP_CONDSWITCH (bug 597452, r=sstangl).

--HG--
extra : rebase_source : 7e4ee290322b071cd50e1bb21bf5722ac3d0c0d0
This commit is contained in:
David Anderson 2010-09-17 11:35:01 -07:00
parent 86f33eea9f
commit 1eb18e8c61

View File

@ -1349,6 +1349,10 @@ mjit::Compiler::generateMethod()
BEGIN_CASE(JSOP_LINENO)
END_CASE(JSOP_LINENO)
BEGIN_CASE(JSOP_CONDSWITCH)
/* No-op for the decompiler. */
END_CASE(JSOP_CONDSWITCH)
BEGIN_CASE(JSOP_DEFFUN)
{
uint32 index = fullAtomIndex(PC);
@ -1590,6 +1594,10 @@ mjit::Compiler::generateMethod()
}
END_CASE(JSOP_NEWARRAY)
BEGIN_CASE(JSOP_HOLE)
frame.push(MagicValue(JS_ARRAY_HOLE));
END_CASE(JSOP_HOLE)
BEGIN_CASE(JSOP_LAMBDA_FC)
{
JSFunction *fun = script->getFunction(fullAtomIndex(PC));