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/arm/lithium-arm.h" | 5 #include "src/crankshaft/arm/lithium-arm.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/crankshaft/arm/lithium-codegen-arm.h" | 9 #include "src/crankshaft/arm/lithium-codegen-arm.h" |
10 #include "src/crankshaft/hydrogen-osr.h" | 10 #include "src/crankshaft/hydrogen-osr.h" |
(...skipping 1801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1812 | 1812 |
1813 | 1813 |
1814 LInstruction* LChunkBuilder::DoClassOfTestAndBranch( | 1814 LInstruction* LChunkBuilder::DoClassOfTestAndBranch( |
1815 HClassOfTestAndBranch* instr) { | 1815 HClassOfTestAndBranch* instr) { |
1816 DCHECK(instr->value()->representation().IsTagged()); | 1816 DCHECK(instr->value()->representation().IsTagged()); |
1817 LOperand* value = UseRegister(instr->value()); | 1817 LOperand* value = UseRegister(instr->value()); |
1818 return new(zone()) LClassOfTestAndBranch(value, TempRegister()); | 1818 return new(zone()) LClassOfTestAndBranch(value, TempRegister()); |
1819 } | 1819 } |
1820 | 1820 |
1821 | 1821 |
1822 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { | |
1823 LOperand* map = UseRegisterAtStart(instr->value()); | |
1824 return DefineAsRegister(new(zone()) LMapEnumLength(map)); | |
1825 } | |
1826 | |
1827 | |
1828 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { | 1822 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { |
1829 LOperand* string = UseRegisterAtStart(instr->string()); | 1823 LOperand* string = UseRegisterAtStart(instr->string()); |
1830 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); | 1824 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); |
1831 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); | 1825 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); |
1832 } | 1826 } |
1833 | 1827 |
1834 | 1828 |
1835 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { | 1829 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { |
1836 LOperand* string = UseRegisterAtStart(instr->string()); | 1830 LOperand* string = UseRegisterAtStart(instr->string()); |
1837 LOperand* index = FLAG_debug_code | 1831 LOperand* index = FLAG_debug_code |
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2626 HAllocateBlockContext* instr) { | 2620 HAllocateBlockContext* instr) { |
2627 LOperand* context = UseFixed(instr->context(), cp); | 2621 LOperand* context = UseFixed(instr->context(), cp); |
2628 LOperand* function = UseRegisterAtStart(instr->function()); | 2622 LOperand* function = UseRegisterAtStart(instr->function()); |
2629 LAllocateBlockContext* result = | 2623 LAllocateBlockContext* result = |
2630 new(zone()) LAllocateBlockContext(context, function); | 2624 new(zone()) LAllocateBlockContext(context, function); |
2631 return MarkAsCall(DefineFixed(result, cp), instr); | 2625 return MarkAsCall(DefineFixed(result, cp), instr); |
2632 } | 2626 } |
2633 | 2627 |
2634 } // namespace internal | 2628 } // namespace internal |
2635 } // namespace v8 | 2629 } // namespace v8 |
OLD | NEW |