Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index a1c2960b4d70637de8dfaf685d1af06f0e0f281d..bfc10cc3c8f7672745b2ed36337f73d8a8e5ffaa 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -190,7 +190,7 @@ void FullCodeGenerator::Generate() { |
// Argument to NewContext is the function, which is still in edi. |
if (FLAG_harmony_scoping && info->scope()->is_script_scope()) { |
__ push(edi); |
- __ Push(info->scope()->GetScopeInfo()); |
+ __ Push(info->scope()->GetScopeInfo(info->isolate())); |
__ CallRuntime(Runtime::kNewScriptContext, 2); |
} else if (heap_slots <= FastNewContextStub::kMaximumSlots) { |
FastNewContextStub stub(isolate(), heap_slots); |