[JAEGER] Added JSOP_DOUBLE.

This commit is contained in:
David Anderson
2010-05-25 22:42:43 -07:00
parent 7b2c0a4d3d
commit fb07a1926e
2 changed files with 10 additions and 1 deletions

View File

@@ -216,6 +216,15 @@ mjit::Compiler::generateMethod()
BEGIN_CASE(JSOP_TRACE)
END_CASE(JSOP_TRACE)
BEGIN_CASE(JSOP_DOUBLE)
{
uint32 index = fullAtomIndex(PC);
JSAtom *atom = script->getAtom(index);
double d = *ATOM_TO_DOUBLE(atom);
frame.push(Value(DoubleTag(d)));
}
END_CASE(JSOP_DOUBLE)
BEGIN_CASE(JSOP_ZERO)
frame.push(JSVAL_ZERO);
END_CASE(JSOP_ZERO)