OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 <sstream> | 5 #include <sstream> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/hydrogen-osr.h" | 9 #include "src/hydrogen-osr.h" |
10 #include "src/lithium-inl.h" | 10 #include "src/lithium-inl.h" |
(...skipping 1797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1808 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { | 1808 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { |
1809 LOperand* map = UseRegisterAtStart(instr->value()); | 1809 LOperand* map = UseRegisterAtStart(instr->value()); |
1810 return DefineAsRegister(new (zone()) LMapEnumLength(map)); | 1810 return DefineAsRegister(new (zone()) LMapEnumLength(map)); |
1811 } | 1811 } |
1812 | 1812 |
1813 | 1813 |
1814 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { | 1814 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { |
1815 LOperand* object = UseFixed(instr->value(), r3); | 1815 LOperand* object = UseFixed(instr->value(), r3); |
1816 LDateField* result = | 1816 LDateField* result = |
1817 new (zone()) LDateField(object, FixedTemp(r4), instr->index()); | 1817 new (zone()) LDateField(object, FixedTemp(r4), instr->index()); |
1818 return MarkAsCall(DefineFixed(result, r3), instr, CAN_DEOPTIMIZE_EAGERLY); | 1818 return MarkAsCall(DefineFixed(result, r3), instr, CANNOT_DEOPTIMIZE_EAGERLY); |
1819 } | 1819 } |
1820 | 1820 |
1821 | 1821 |
1822 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { | 1822 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { |
1823 LOperand* string = UseRegisterAtStart(instr->string()); | 1823 LOperand* string = UseRegisterAtStart(instr->string()); |
1824 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); | 1824 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); |
1825 return DefineAsRegister(new (zone()) LSeqStringGetChar(string, index)); | 1825 return DefineAsRegister(new (zone()) LSeqStringGetChar(string, index)); |
1826 } | 1826 } |
1827 | 1827 |
1828 | 1828 |
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2615 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2615 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
2616 HAllocateBlockContext* instr) { | 2616 HAllocateBlockContext* instr) { |
2617 LOperand* context = UseFixed(instr->context(), cp); | 2617 LOperand* context = UseFixed(instr->context(), cp); |
2618 LOperand* function = UseRegisterAtStart(instr->function()); | 2618 LOperand* function = UseRegisterAtStart(instr->function()); |
2619 LAllocateBlockContext* result = | 2619 LAllocateBlockContext* result = |
2620 new (zone()) LAllocateBlockContext(context, function); | 2620 new (zone()) LAllocateBlockContext(context, function); |
2621 return MarkAsCall(DefineFixed(result, cp), instr); | 2621 return MarkAsCall(DefineFixed(result, cp), instr); |
2622 } | 2622 } |
2623 } // namespace internal | 2623 } // namespace internal |
2624 } // namespace v8 | 2624 } // namespace v8 |
OLD | NEW |