Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 8ab3763e7c584a40e1eda68db5d508ea0c8d739f..950a129499126f0e6f42d58afe7d08ee8571114f 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.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); |