Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 47529c022fdaae46a4c6736a1e30828ec21f3dfd..5f91afaf49f737eef29340c7f282c9230a844d7b 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -165,7 +165,7 @@ void FullCodeGenerator::Generate() { |
// Argument to NewContext is the function, which is still in rdi. |
if (info->scope()->is_script_scope()) { |
__ Push(rdi); |
- __ Push(info->scope()->GetScopeInfo(info->isolate())); |
+ __ Push(info->scope()->scope_info()); |
__ CallRuntime(Runtime::kNewScriptContext); |
PrepareForBailoutForId(BailoutId::ScriptContext(), |
BailoutState::TOS_REGISTER); |