Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 026538254a6e8f106067cae6b02184d27d32079e..4cf7df4c78db93b5b778aa97a8010e7ab733a4a9 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -4416,8 +4416,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()); |
__ mov(r1, Operand(shared_info)); |
__ push(r1); |
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |