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 <sstream> | 5 #include <sstream> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_X87 | 9 #if V8_TARGET_ARCH_X87 |
10 | 10 |
(...skipping 1803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1814 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { | 1814 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { |
1815 LOperand* map = UseRegisterAtStart(instr->value()); | 1815 LOperand* map = UseRegisterAtStart(instr->value()); |
1816 return DefineAsRegister(new(zone()) LMapEnumLength(map)); | 1816 return DefineAsRegister(new(zone()) LMapEnumLength(map)); |
1817 } | 1817 } |
1818 | 1818 |
1819 | 1819 |
1820 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { | 1820 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { |
1821 LOperand* date = UseFixed(instr->value(), eax); | 1821 LOperand* date = UseFixed(instr->value(), eax); |
1822 LDateField* result = | 1822 LDateField* result = |
1823 new(zone()) LDateField(date, FixedTemp(ecx), instr->index()); | 1823 new(zone()) LDateField(date, FixedTemp(ecx), instr->index()); |
1824 return MarkAsCall(DefineFixed(result, eax), instr, CAN_DEOPTIMIZE_EAGERLY); | 1824 return MarkAsCall(DefineFixed(result, eax), instr, CANNOT_DEOPTIMIZE_EAGERLY); |
1825 } | 1825 } |
1826 | 1826 |
1827 | 1827 |
1828 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { | 1828 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { |
1829 LOperand* string = UseRegisterAtStart(instr->string()); | 1829 LOperand* string = UseRegisterAtStart(instr->string()); |
1830 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); | 1830 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); |
1831 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); | 1831 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); |
1832 } | 1832 } |
1833 | 1833 |
1834 | 1834 |
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2736 LAllocateBlockContext* result = | 2736 LAllocateBlockContext* result = |
2737 new(zone()) LAllocateBlockContext(context, function); | 2737 new(zone()) LAllocateBlockContext(context, function); |
2738 return MarkAsCall(DefineFixed(result, esi), instr); | 2738 return MarkAsCall(DefineFixed(result, esi), instr); |
2739 } | 2739 } |
2740 | 2740 |
2741 | 2741 |
2742 } // namespace internal | 2742 } // namespace internal |
2743 } // namespace v8 | 2743 } // namespace v8 |
2744 | 2744 |
2745 #endif // V8_TARGET_ARCH_X87 | 2745 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |