Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 23e5f69ebe49d52474ee0086d33cf90a111f311a..3144979fe992c6d83c9c8f92f70a1f5a5db402c1 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1923,7 +1923,10 @@ void FullCodeGenerator::VisitCall(Call* expr) { |
__ ldr(r1, |
MemOperand(fp, (2 + scope()->num_parameters()) * kPointerSize)); |
__ push(r1); |
- __ CallRuntime(Runtime::kResolvePossiblyDirectEval, 3); |
+ // Push the strict mode flag |
+ __ mov(r1, Operand(Smi::FromInt(strict_mode_flag()))); |
+ __ push(r1); |
+ __ CallRuntime(Runtime::kResolvePossiblyDirectEval, 4); |
// The runtime call returns a pair of values in r0 (function) and |
// r1 (receiver). Touch up the stack with the right values. |