| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/x64/lithium-x64.h" | 5 #include "src/crankshaft/x64/lithium-x64.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #if V8_TARGET_ARCH_X64 | 9 #if V8_TARGET_ARCH_X64 |
| 10 | 10 |
| (...skipping 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1790 ? UseOrConstantAtStart(instr->length()) | 1790 ? UseOrConstantAtStart(instr->length()) |
| 1791 : UseAtStart(instr->length()); | 1791 : UseAtStart(instr->length()); |
| 1792 LInstruction* result = new(zone()) LBoundsCheck(index, length); | 1792 LInstruction* result = new(zone()) LBoundsCheck(index, length); |
| 1793 if (!FLAG_debug_code || !instr->skip_check()) { | 1793 if (!FLAG_debug_code || !instr->skip_check()) { |
| 1794 result = AssignEnvironment(result); | 1794 result = AssignEnvironment(result); |
| 1795 } | 1795 } |
| 1796 return result; | 1796 return result; |
| 1797 } | 1797 } |
| 1798 | 1798 |
| 1799 | 1799 |
| 1800 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | |
| 1801 HBoundsCheckBaseIndexInformation* instr) { | |
| 1802 UNREACHABLE(); | |
| 1803 return NULL; | |
| 1804 } | |
| 1805 | |
| 1806 | |
| 1807 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 1800 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
| 1808 // The control instruction marking the end of a block that completed | 1801 // The control instruction marking the end of a block that completed |
| 1809 // abruptly (e.g., threw an exception). There is nothing specific to do. | 1802 // abruptly (e.g., threw an exception). There is nothing specific to do. |
| 1810 return NULL; | 1803 return NULL; |
| 1811 } | 1804 } |
| 1812 | 1805 |
| 1813 | 1806 |
| 1814 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1807 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
| 1815 return NULL; | 1808 return NULL; |
| 1816 } | 1809 } |
| (...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2631 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { | 2624 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { |
| 2632 LOperand* context = UseRegisterAtStart(instr->context()); | 2625 LOperand* context = UseRegisterAtStart(instr->context()); |
| 2633 return new(zone()) LStoreFrameContext(context); | 2626 return new(zone()) LStoreFrameContext(context); |
| 2634 } | 2627 } |
| 2635 | 2628 |
| 2636 | 2629 |
| 2637 } // namespace internal | 2630 } // namespace internal |
| 2638 } // namespace v8 | 2631 } // namespace v8 |
| 2639 | 2632 |
| 2640 #endif // V8_TARGET_ARCH_X64 | 2633 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |