| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "v8.h" | 5 #include "v8.h" |
| 6 | 6 |
| 7 #include "lithium-allocator-inl.h" | 7 #include "lithium-allocator-inl.h" |
| 8 #include "arm64/lithium-arm64.h" | 8 #include "arm64/lithium-arm64.h" |
| 9 #include "arm64/lithium-codegen-arm64.h" | 9 #include "arm64/lithium-codegen-arm64.h" |
| 10 #include "hydrogen-osr.h" | 10 #include "hydrogen-osr.h" |
| (...skipping 2527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2538 LInstruction* LChunkBuilder::DoCheckMapValue(HCheckMapValue* instr) { | 2538 LInstruction* LChunkBuilder::DoCheckMapValue(HCheckMapValue* instr) { |
| 2539 LOperand* value = UseRegisterAtStart(instr->value()); | 2539 LOperand* value = UseRegisterAtStart(instr->value()); |
| 2540 LOperand* map = UseRegister(instr->map()); | 2540 LOperand* map = UseRegister(instr->map()); |
| 2541 LOperand* temp = TempRegister(); | 2541 LOperand* temp = TempRegister(); |
| 2542 return AssignEnvironment(new(zone()) LCheckMapValue(value, map, temp)); | 2542 return AssignEnvironment(new(zone()) LCheckMapValue(value, map, temp)); |
| 2543 } | 2543 } |
| 2544 | 2544 |
| 2545 | 2545 |
| 2546 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2546 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2547 LOperand* object = UseRegisterAtStart(instr->object()); | 2547 LOperand* object = UseRegisterAtStart(instr->object()); |
| 2548 LOperand* index = UseRegister(instr->index()); | 2548 LOperand* index = UseRegisterAndClobber(instr->index()); |
| 2549 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); | 2549 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); |
| 2550 LInstruction* result = DefineSameAsFirst(load); | 2550 LInstruction* result = DefineSameAsFirst(load); |
| 2551 return AssignPointerMap(result); | 2551 return AssignPointerMap(result); |
| 2552 } | 2552 } |
| 2553 | 2553 |
| 2554 | 2554 |
| 2555 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { | 2555 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
| 2556 LOperand* receiver = UseRegister(instr->receiver()); | 2556 LOperand* receiver = UseRegister(instr->receiver()); |
| 2557 LOperand* function = UseRegister(instr->function()); | 2557 LOperand* function = UseRegister(instr->function()); |
| 2558 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); | 2558 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); |
| 2559 return AssignEnvironment(DefineAsRegister(result)); | 2559 return AssignEnvironment(DefineAsRegister(result)); |
| 2560 } | 2560 } |
| 2561 | 2561 |
| 2562 | 2562 |
| 2563 } } // namespace v8::internal | 2563 } } // namespace v8::internal |
| OLD | NEW |