| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 3ef815912fbb94fddce3ff1d4bd6a1bdf3719ebb..7d1e6439e6773c5501d8a53396e36e3b80622907 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -2270,7 +2270,9 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
|
|
| // Push the receiver of the enclosing function and do runtime call.
|
| __ push(Operand(ebp, (2 + scope()->num_parameters()) * kPointerSize));
|
| - __ CallRuntime(Runtime::kResolvePossiblyDirectEval, 3);
|
| + // Push the strict mode flag.
|
| + __ push(Immediate(Smi::FromInt(strict_mode_flag())));
|
| + __ CallRuntime(Runtime::kResolvePossiblyDirectEval, 4);
|
|
|
| // The runtime call returns a pair of values in eax (function) and
|
| // edx (receiver). Touch up the stack with the right values.
|
|
|