Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index a4a17efeec1194ac9acfc4e1fead128612b7962e..7508c01e4998473eb00ffd20ab7ce4700241e6a3 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -197,7 +197,7 @@ void FullCodeGenerator::Generate() { |
bool need_write_barrier = true; |
if (FLAG_harmony_scoping && info->scope()->is_script_scope()) { |
__ push(r1); |
- __ 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); |