Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index bebe4682d65e0fdc5839903d3002f3fb97da0689..3b933130c21991cf28f6b56290eaf7e7058e0d3e 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -5402,9 +5402,12 @@ void CodeGenerator::VisitCall(Call* node) { |
} |
frame_->PushParameterAt(-1); |
+ // Push the strict mode flag. |
+ frame_->Push(Smi::FromInt(strict_mode_flag())); |
+ |
// Resolve the call. |
result = |
- frame_->CallRuntime(Runtime::kResolvePossiblyDirectEvalNoLookup, 3); |
+ frame_->CallRuntime(Runtime::kResolvePossiblyDirectEvalNoLookup, 4); |
done.Jump(&result); |
slow.Bind(); |
@@ -5421,8 +5424,11 @@ void CodeGenerator::VisitCall(Call* node) { |
} |
frame_->PushParameterAt(-1); |
+ // Push the strict mode flag. |
+ frame_->Push(Smi::FromInt(strict_mode_flag())); |
+ |
// Resolve the call. |
- result = frame_->CallRuntime(Runtime::kResolvePossiblyDirectEval, 3); |
+ result = frame_->CallRuntime(Runtime::kResolvePossiblyDirectEval, 4); |
// If we generated fast-case code bind the jump-target where fast |
// and slow case merge. |