Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index b248dd1ebbf88f200e6ac44acdf87683e402f47c..65e60fb855368667302c9cab27e7dce5c1a3bca7 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -189,7 +189,7 @@ void FullCodeGenerator::Generate() { |
// Argument to NewContext is the function, which is still in rdi. |
if (FLAG_harmony_scoping && info->scope()->is_script_scope()) { |
__ Push(rdi); |
- __ 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); |