| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 2e0b722697c9c64a03651293e3465d83e7237e21..9abb428838baacd780c1c1ab6fd53dfbbd051c40 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -2230,9 +2230,9 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
| __ bind(&done);
|
| // Push function.
|
| __ push(eax);
|
| - // Push global receiver.
|
| - __ mov(ebx, GlobalObjectOperand());
|
| - __ push(FieldOperand(ebx, GlobalObject::kGlobalReceiverOffset));
|
| + // The receiver is implicitly the global receiver. Indicate this
|
| + // by passing the hole to the call function stub.
|
| + __ push(Immediate(isolate()->factory()->the_hole_value()));
|
| __ bind(&call);
|
| }
|
|
|
|
|