| Index: src/arm/lithium-arm.cc
|
| ===================================================================
|
| --- src/arm/lithium-arm.cc (revision 7187)
|
| +++ src/arm/lithium-arm.cc (working copy)
|
| @@ -1725,14 +1725,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, r0), instr);
|
| +}
|
| +
|
| +
|
| LInstruction* LChunkBuilder::DoStoreGlobal(HStoreGlobal* instr) {
|
| if (instr->check_hole_value()) {
|
| LOperand* temp = TempRegister();
|
|
|