Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 609516f9b24b08c5ecbd838917a4a55aa0ae110f..13bb7305e1744792ad7384cf7e2ace8a181ef5d8 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -3197,6 +3197,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); |