| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index a5065aa47f678431b318c793039c133e682fac63..661d3013ce887395e73fc2db8ab322dcf85c0a9e 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -2708,6 +2708,8 @@ void FullCodeGenerator::EmitResolvePossiblyDirectEval(int arg_count) {
|
| __ push(Immediate(isolate()->factory()->undefined_value()));
|
| }
|
|
|
| + // Push the enclosing function.
|
| + __ push(Operand(ebp, JavaScriptFrameConstants::kFunctionOffset));
|
| // Push the receiver of the enclosing function.
|
| __ push(Operand(ebp, (2 + info_->scope()->num_parameters()) * kPointerSize));
|
| // Push the language mode.
|
| @@ -2717,7 +2719,7 @@ void FullCodeGenerator::EmitResolvePossiblyDirectEval(int arg_count) {
|
| __ push(Immediate(Smi::FromInt(scope()->start_position())));
|
|
|
| // Do the runtime call.
|
| - __ CallRuntime(Runtime::kResolvePossiblyDirectEval, 5);
|
| + __ CallRuntime(Runtime::kResolvePossiblyDirectEval, 6);
|
| }
|
|
|
|
|
|
|