Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 0a65ee28526b7c60563f437a03de0a4959ba2d15..49076374883fcd9746380461d90572451304f994 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -1039,10 +1039,9 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info, |
// doesn't just get a copy of the existing unoptimized code. |
if (!FLAG_always_opt && |
!FLAG_prepare_always_opt && |
- !pretenure && |
scope()->is_function_scope() && |
info->num_literals() == 0 && |
- !info->strict_mode()) { // Strict mode functions use slow path. |
+ !pretenure) { |
FastNewClosureStub stub; |
__ Push(info); |
__ CallStub(&stub); |