Index: src/x64/lithium-x64.cc |
=================================================================== |
--- src/x64/lithium-x64.cc (revision 7212) |
+++ src/x64/lithium-x64.cc (working copy) |
@@ -1199,7 +1199,8 @@ |
LInstruction* LChunkBuilder::DoGlobalReceiver(HGlobalReceiver* instr) { |
- return DefineAsRegister(new LGlobalReceiver); |
+ LOperand* global_object = UseRegisterAtStart(instr->value()); |
+ return DefineAsRegister(new LGlobalReceiver(global_object)); |
} |