| 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 "src/crankshaft/arm64/lithium-arm64.h" | 5 #include "src/crankshaft/arm64/lithium-arm64.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" | 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" |
| 10 #include "src/crankshaft/hydrogen-osr.h" | 10 #include "src/crankshaft/hydrogen-osr.h" |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 | 754 |
| 755 | 755 |
| 756 LInstruction* LChunkBuilder::AssignEnvironment(LInstruction* instr) { | 756 LInstruction* LChunkBuilder::AssignEnvironment(LInstruction* instr) { |
| 757 HEnvironment* hydrogen_env = current_block_->last_environment(); | 757 HEnvironment* hydrogen_env = current_block_->last_environment(); |
| 758 return LChunkBuilderBase::AssignEnvironment(instr, hydrogen_env); | 758 return LChunkBuilderBase::AssignEnvironment(instr, hydrogen_env); |
| 759 } | 759 } |
| 760 | 760 |
| 761 | 761 |
| 762 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { | 762 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { |
| 763 LInstruction* result = new (zone()) LPrologue(); | 763 LInstruction* result = new (zone()) LPrologue(); |
| 764 if (info_->num_heap_slots() > 0) { | 764 if (info_->scope()->num_heap_slots() > 0) { |
| 765 result = MarkAsCall(result, instr); | 765 result = MarkAsCall(result, instr); |
| 766 } | 766 } |
| 767 return result; | 767 return result; |
| 768 } | 768 } |
| 769 | 769 |
| 770 | 770 |
| 771 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 771 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
| 772 // The control instruction marking the end of a block that completed | 772 // The control instruction marking the end of a block that completed |
| 773 // abruptly (e.g., threw an exception). There is nothing specific to do. | 773 // abruptly (e.g., threw an exception). There is nothing specific to do. |
| 774 return NULL; | 774 return NULL; |
| (...skipping 1875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2650 | 2650 |
| 2651 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { | 2651 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
| 2652 LOperand* receiver = UseRegister(instr->receiver()); | 2652 LOperand* receiver = UseRegister(instr->receiver()); |
| 2653 LOperand* function = UseRegister(instr->function()); | 2653 LOperand* function = UseRegister(instr->function()); |
| 2654 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); | 2654 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); |
| 2655 return AssignEnvironment(DefineAsRegister(result)); | 2655 return AssignEnvironment(DefineAsRegister(result)); |
| 2656 } | 2656 } |
| 2657 | 2657 |
| 2658 } // namespace internal | 2658 } // namespace internal |
| 2659 } // namespace v8 | 2659 } // namespace v8 |
| OLD | NEW |