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/mips/lithium-mips.h" | 5 #include "src/crankshaft/mips/lithium-mips.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
10 | 10 |
(...skipping 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1765 ? UseRegisterOrConstantAtStart(instr->length()) | 1765 ? UseRegisterOrConstantAtStart(instr->length()) |
1766 : UseRegisterAtStart(instr->length()); | 1766 : UseRegisterAtStart(instr->length()); |
1767 LInstruction* result = new(zone()) LBoundsCheck(index, length); | 1767 LInstruction* result = new(zone()) LBoundsCheck(index, length); |
1768 if (!FLAG_debug_code || !instr->skip_check()) { | 1768 if (!FLAG_debug_code || !instr->skip_check()) { |
1769 result = AssignEnvironment(result); | 1769 result = AssignEnvironment(result); |
1770 } | 1770 } |
1771 return result; | 1771 return result; |
1772 } | 1772 } |
1773 | 1773 |
1774 | 1774 |
1775 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | |
1776 HBoundsCheckBaseIndexInformation* instr) { | |
1777 UNREACHABLE(); | |
1778 return NULL; | |
1779 } | |
1780 | |
1781 | |
1782 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 1775 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
1783 // The control instruction marking the end of a block that completed | 1776 // The control instruction marking the end of a block that completed |
1784 // abruptly (e.g., threw an exception). There is nothing specific to do. | 1777 // abruptly (e.g., threw an exception). There is nothing specific to do. |
1785 return NULL; | 1778 return NULL; |
1786 } | 1779 } |
1787 | 1780 |
1788 | 1781 |
1789 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1782 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
1790 return NULL; | 1783 return NULL; |
1791 } | 1784 } |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2522 | 2515 |
2523 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { | 2516 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { |
2524 LOperand* context = UseRegisterAtStart(instr->context()); | 2517 LOperand* context = UseRegisterAtStart(instr->context()); |
2525 return new(zone()) LStoreFrameContext(context); | 2518 return new(zone()) LStoreFrameContext(context); |
2526 } | 2519 } |
2527 | 2520 |
2528 } // namespace internal | 2521 } // namespace internal |
2529 } // namespace v8 | 2522 } // namespace v8 |
2530 | 2523 |
2531 #endif // V8_TARGET_ARCH_MIPS | 2524 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |