Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 5016778d23c7fac88499f6c8ab83283da8a95f62..d4cbbcec8fd609f1029221de88cce9b027e83327 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -4313,8 +4313,7 @@ void LCodeGen::DoFunctionLiteral(LFunctionLiteral* instr) { |
Handle<SharedFunctionInfo> shared_info = instr->shared_info(); |
bool pretenure = instr->hydrogen()->pretenure(); |
if (!pretenure && shared_info->num_literals() == 0) { |
- FastNewClosureStub stub( |
- shared_info->strict_mode() ? kStrictMode : kNonStrictMode); |
+ FastNewClosureStub stub(shared_info->strict_mode_flag()); |
__ push(Immediate(shared_info)); |
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} else { |