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