Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index c6d32670ee7e5e99c9add5f014c7dc6a2c7cfd67..1d24b91dbb846fd0e85300c7405c2b143c41f2f0 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -197,7 +197,7 @@ void FullCodeGenerator::Generate() { |
Comment cmnt(masm_, "[ Allocate context"); |
bool need_write_barrier = true; |
if (FLAG_harmony_scoping && info->scope()->is_script_scope()) { |
- __ Mov(x10, Operand(info->scope()->GetScopeInfo())); |
+ __ Mov(x10, Operand(info->scope()->GetScopeInfo(info->isolate()))); |
__ Push(x1, x10); |
__ CallRuntime(Runtime::kNewScriptContext, 2); |
} else if (heap_slots <= FastNewContextStub::kMaximumSlots) { |