Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index df1cf74d6521a51902c9cae5ec54d2120e8055c9..a219ac05af176b01247d56c5fae31ac8babb2618 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -196,7 +196,7 @@ void FullCodeGenerator::Generate() { |
// Argument to NewContext is the function, which is still in x1. |
Comment cmnt(masm_, "[ Allocate context"); |
bool need_write_barrier = true; |
- if (FLAG_harmony_scoping && info->scope()->is_script_scope()) { |
+ if (info->scope()->is_script_scope()) { |
__ Mov(x10, Operand(info->scope()->GetScopeInfo(info->isolate()))); |
__ Push(x1, x10); |
__ CallRuntime(Runtime::kNewScriptContext, 2); |