Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index a32faf10f7a8abb3b9d7d047d3908438fc6b5d05..b51bd973ca97d7c49f5d0e475758214a1cad52fc 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -3202,6 +3202,12 @@ void FullCodeGenerator::EmitGetSuperConstructor(CallRuntime* expr) { |
context()->Plug(eax); |
} |
+void FullCodeGenerator::EmitGetOrdinaryHasInstance(CallRuntime* expr) { |
+ DCHECK_EQ(0, expr->arguments()->length()); |
+ __ mov(eax, NativeContextOperand()); |
+ __ mov(eax, ContextOperand(eax, Context::ORDINARY_HAS_INSTANCE_INDEX)); |
+ context()->Plug(eax); |
+} |
void FullCodeGenerator::EmitDebugIsActive(CallRuntime* expr) { |
DCHECK(expr->arguments()->length() == 0); |