| 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/x87/lithium-x87.h" | 5 #include "src/crankshaft/x87/lithium-x87.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #if V8_TARGET_ARCH_X87 | 9 #if V8_TARGET_ARCH_X87 |
| 10 | 10 |
| (...skipping 1772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1783 ? UseOrConstantAtStart(instr->length()) | 1783 ? UseOrConstantAtStart(instr->length()) |
| 1784 : UseAtStart(instr->length()); | 1784 : UseAtStart(instr->length()); |
| 1785 LInstruction* result = new(zone()) LBoundsCheck(index, length); | 1785 LInstruction* result = new(zone()) LBoundsCheck(index, length); |
| 1786 if (!FLAG_debug_code || !instr->skip_check()) { | 1786 if (!FLAG_debug_code || !instr->skip_check()) { |
| 1787 result = AssignEnvironment(result); | 1787 result = AssignEnvironment(result); |
| 1788 } | 1788 } |
| 1789 return result; | 1789 return result; |
| 1790 } | 1790 } |
| 1791 | 1791 |
| 1792 | 1792 |
| 1793 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | |
| 1794 HBoundsCheckBaseIndexInformation* instr) { | |
| 1795 UNREACHABLE(); | |
| 1796 return NULL; | |
| 1797 } | |
| 1798 | |
| 1799 | |
| 1800 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 1793 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
| 1801 // The control instruction marking the end of a block that completed | 1794 // The control instruction marking the end of a block that completed |
| 1802 // abruptly (e.g., threw an exception). There is nothing specific to do. | 1795 // abruptly (e.g., threw an exception). There is nothing specific to do. |
| 1803 return NULL; | 1796 return NULL; |
| 1804 } | 1797 } |
| 1805 | 1798 |
| 1806 | 1799 |
| 1807 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1800 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
| 1808 return NULL; | 1801 return NULL; |
| 1809 } | 1802 } |
| (...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2607 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { | 2600 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { |
| 2608 LOperand* context = UseRegisterAtStart(instr->context()); | 2601 LOperand* context = UseRegisterAtStart(instr->context()); |
| 2609 return new(zone()) LStoreFrameContext(context); | 2602 return new(zone()) LStoreFrameContext(context); |
| 2610 } | 2603 } |
| 2611 | 2604 |
| 2612 | 2605 |
| 2613 } // namespace internal | 2606 } // namespace internal |
| 2614 } // namespace v8 | 2607 } // namespace v8 |
| 2615 | 2608 |
| 2616 #endif // V8_TARGET_ARCH_X87 | 2609 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |