[JAEGER] Added JSOP_STRICTEQ, JSOP_STRICTNE.

This commit is contained in:
David Anderson
2010-06-06 00:41:57 -07:00
parent d2a04f8ecd
commit 99727c8a68
3 changed files with 34 additions and 0 deletions

View File

@@ -667,6 +667,22 @@ mjit::Compiler::generateMethod()
}
END_CASE(JSOP_AND)
BEGIN_CASE(JSOP_STRICTEQ)
prepareStubCall();
stubCall(stubs::StrictEq, Uses(2), Defs(1));
frame.popn(2);
frame.takeReg(Registers::ReturnReg);
frame.pushTypedPayload(JSVAL_MASK32_BOOLEAN, Registers::ReturnReg);
END_CASE(JSOP_STRICTEQ)
BEGIN_CASE(JSOP_STRICTNE)
prepareStubCall();
stubCall(stubs::StrictNe, Uses(2), Defs(1));
frame.popn(2);
frame.takeReg(Registers::ReturnReg);
frame.pushTypedPayload(JSVAL_MASK32_BOOLEAN, Registers::ReturnReg);
END_CASE(JSOP_STRICTNE)
BEGIN_CASE(JSOP_ITER)
{
prepareStubCall();