| 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 1807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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) { | 1822 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { |
| 1823 LOperand* map = UseRegisterAtStart(instr->value()); | 1823 LOperand* map = UseRegisterAtStart(instr->value()); |
| 1824 return DefineAsRegister(new(zone()) LMapEnumLength(map)); | 1824 return DefineAsRegister(new(zone()) LMapEnumLength(map)); |
| 1825 } | 1825 } |
| 1826 | 1826 |
| 1827 | 1827 |
| 1828 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { | |
| 1829 LOperand* object = UseFixed(instr->value(), r0); | |
| 1830 LDateField* result = | |
| 1831 new(zone()) LDateField(object, FixedTemp(r1), instr->index()); | |
| 1832 return MarkAsCall(DefineFixed(result, r0), instr, CANNOT_DEOPTIMIZE_EAGERLY); | |
| 1833 } | |
| 1834 | |
| 1835 | |
| 1836 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { | 1828 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { |
| 1837 LOperand* string = UseRegisterAtStart(instr->string()); | 1829 LOperand* string = UseRegisterAtStart(instr->string()); |
| 1838 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); | 1830 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); |
| 1839 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); | 1831 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); |
| 1840 } | 1832 } |
| 1841 | 1833 |
| 1842 | 1834 |
| 1843 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { | 1835 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { |
| 1844 LOperand* string = UseRegisterAtStart(instr->string()); | 1836 LOperand* string = UseRegisterAtStart(instr->string()); |
| 1845 LOperand* index = FLAG_debug_code | 1837 LOperand* index = FLAG_debug_code |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2635 HAllocateBlockContext* instr) { | 2627 HAllocateBlockContext* instr) { |
| 2636 LOperand* context = UseFixed(instr->context(), cp); | 2628 LOperand* context = UseFixed(instr->context(), cp); |
| 2637 LOperand* function = UseRegisterAtStart(instr->function()); | 2629 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2638 LAllocateBlockContext* result = | 2630 LAllocateBlockContext* result = |
| 2639 new(zone()) LAllocateBlockContext(context, function); | 2631 new(zone()) LAllocateBlockContext(context, function); |
| 2640 return MarkAsCall(DefineFixed(result, cp), instr); | 2632 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2641 } | 2633 } |
| 2642 | 2634 |
| 2643 } // namespace internal | 2635 } // namespace internal |
| 2644 } // namespace v8 | 2636 } // namespace v8 |
| OLD | NEW |