[JAEGER] Added JSOP_INSTANCEOF.

This commit is contained in:
David Anderson
2010-06-08 21:46:38 -07:00
parent 17edc545fd
commit 87dd4ed0d0
3 changed files with 30 additions and 0 deletions

View File

@@ -896,6 +896,14 @@ mjit::Compiler::generateMethod()
frame.pop();
END_CASE(JSOP_THROW)
BEGIN_CASE(JSOP_INSTANCEOF)
prepareStubCall();
stubCall(stubs::InstanceOf, Uses(2), Defs(1));
frame.popn(2);
frame.takeReg(Registers::ReturnReg);
frame.pushTypedPayload(JSVAL_MASK32_BOOLEAN, Registers::ReturnReg);
END_CASE(JSOP_INSTANCEOF)
BEGIN_CASE(JSOP_LINENO)
END_CASE(JSOP_LINENO)