| Index: src/x64/lithium-x64.cc
|
| ===================================================================
|
| --- src/x64/lithium-x64.cc (revision 7187)
|
| +++ src/x64/lithium-x64.cc (working copy)
|
| @@ -1716,14 +1716,20 @@
|
| }
|
|
|
|
|
| -LInstruction* LChunkBuilder::DoLoadGlobal(HLoadGlobal* instr) {
|
| - LLoadGlobal* result = new LLoadGlobal;
|
| +LInstruction* LChunkBuilder::DoLoadGlobalCell(HLoadGlobalCell* instr) {
|
| + LLoadGlobalCell* result = new LLoadGlobalCell;
|
| return instr->check_hole_value()
|
| ? AssignEnvironment(DefineAsRegister(result))
|
| : DefineAsRegister(result);
|
| }
|
|
|
|
|
| +LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) {
|
| + LLoadGlobalGeneric* result = new LLoadGlobalGeneric;
|
| + return MarkAsCall(DefineFixed(result, rax), instr);
|
| +}
|
| +
|
| +
|
| LInstruction* LChunkBuilder::DoStoreGlobal(HStoreGlobal* instr) {
|
| LStoreGlobal* result = new LStoreGlobal(UseRegister(instr->value()),
|
| TempRegister());
|
|
|