Chromium Code Reviews| Index: src/ia32/fast-codegen-ia32.cc |
| =================================================================== |
| --- src/ia32/fast-codegen-ia32.cc (revision 3594) |
| +++ src/ia32/fast-codegen-ia32.cc (working copy) |
| @@ -1111,7 +1111,8 @@ |
| __ push(eax); |
| // Push receiver object on stack. |
| if (prop->is_synthetic()) { |
| - __ push(CodeGenerator::GlobalObject()); |
| + __ mov(ecx, CodeGenerator::GlobalObject()); |
| + __ push(FieldOperand(ecx, GlobalObject::kGlobalReceiverOffset)); |
| } else { |
| __ push(ebx); |
| } |