Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 0d429d602f764c9ae33ce6b2ce78f7f81595dee5..df7e0217d38990d0d766a88c4b1012fc16d01316 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -4177,7 +4177,10 @@ void CodeGenerator::VisitCall(Call* node) { |
__ ldr(r1, frame_->Receiver()); |
frame_->EmitPush(r1); |
- frame_->CallRuntime(Runtime::kResolvePossiblyDirectEvalNoLookup, 3); |
+ // Push strict mode flag. |
+ frame_->EmitPush(Operand(Smi::FromInt(strict_mode_flag()))); |
+ |
+ frame_->CallRuntime(Runtime::kResolvePossiblyDirectEvalNoLookup, 4); |
done.Jump(); |
slow.Bind(); |
@@ -4197,8 +4200,11 @@ void CodeGenerator::VisitCall(Call* node) { |
__ ldr(r1, frame_->Receiver()); |
frame_->EmitPush(r1); |
+ // Push strict mode flag. |
+ frame_->EmitPush(Operand(Smi::FromInt(strict_mode_flag()))); |
+ |
// Resolve the call. |
- frame_->CallRuntime(Runtime::kResolvePossiblyDirectEval, 3); |
+ frame_->CallRuntime(Runtime::kResolvePossiblyDirectEval, 4); |
// If we generated fast-case code bind the jump-target where fast |
// and slow case merge. |