| Index: src/codegen-arm.cc
|
| ===================================================================
|
| --- src/codegen-arm.cc (revision 599)
|
| +++ src/codegen-arm.cc (working copy)
|
| @@ -2240,9 +2240,10 @@
|
| __ mov(r0, Operand(var->name()));
|
| __ push(r0);
|
|
|
| - // TODO(120): Use global object for function lookup and inline
|
| - // cache, and use global proxy as 'this' for invocation.
|
| - LoadGlobalReceiver(r0);
|
| + // Pass the global object as the receiver and let the IC stub
|
| + // patch the stack to use the global proxy as 'this' in the
|
| + // invoked function.
|
| + LoadGlobal();
|
|
|
| // Load the arguments.
|
| for (int i = 0; i < args->length(); i++) Load(args->at(i));
|
|
|