| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index c033fd5a3e28d06d08b4dff5c9d38d2ad76b521e..a65a2930080b18482654ea512178610270f22601 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -2857,6 +2857,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.
|
| @@ -2866,7 +2868,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);
|
| }
|
|
|
|
|
|
|