Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 3ac9ff53a04b570c0682a36a640288f221331c08..2446c576ce28775951d96371ef297bf69be7ca6f 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -3693,8 +3693,7 @@ void LCodeGen::DoFunctionLiteral(LFunctionLiteral* instr) { |
// space for nested functions that don't need literals cloning. |
Handle<SharedFunctionInfo> shared_info = instr->shared_info(); |
bool pretenure = instr->hydrogen()->pretenure(); |
- if (!pretenure && shared_info->num_literals() == 0 && |
- !shared_info->strict_mode()) { |
+ if (shared_info->num_literals() == 0 && !pretenure) { |
FastNewClosureStub stub; |
__ push(Immediate(shared_info)); |
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr, false); |