Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index eda2e55781fbb574ac547f1b904808f7c5c5e615..7ddb8b8c1628b347a88f390b062ee250d3ed2e1f 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -1055,7 +1055,7 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info, |
!pretenure && |
scope()->is_function_scope() && |
info->num_literals() == 0) { |
- FastNewClosureStub stub(info->strict_mode() ? kStrictMode : kNonStrictMode); |
+ FastNewClosureStub stub(info->strict_mode_flag()); |
__ Push(info); |
__ CallStub(&stub); |
} else { |