Index: src/ia32/codegen-ia32.cc |
=================================================================== |
--- src/ia32/codegen-ia32.cc (revision 4852) |
+++ src/ia32/codegen-ia32.cc (working copy) |
@@ -6909,8 +6909,7 @@ |
__ bind(&cache_miss); |
__ push(cache_); // store a reference to cache |
__ push(key_); // store a key |
- Handle<Object> receiver(Top::global_context()->global()); |
- __ push(Immediate(receiver)); |
+ __ push(Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX))); |
__ push(key_); |
// On ia32 function must be in edi. |
__ mov(edi, FieldOperand(cache_, JSFunctionResultCache::kFactoryOffset)); |