Index: src/x64/fast-codegen-x64.cc |
=================================================================== |
--- src/x64/fast-codegen-x64.cc (revision 3594) |
+++ src/x64/fast-codegen-x64.cc (working copy) |
@@ -1128,7 +1128,8 @@ |
__ push(rax); |
// Push receiver object on stack. |
if (prop->is_synthetic()) { |
- __ push(CodeGenerator::GlobalObject()); |
+ __ movq(rcx, CodeGenerator::GlobalObject()); |
+ __ push(FieldOperand(rcx, GlobalObject::kGlobalReceiverOffset)); |
} else { |
__ push(rbx); |
} |