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_IA32 | 9 #if V8_TARGET_ARCH_IA32 |
10 | 10 |
(...skipping 1798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1809 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { | 1809 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { |
1810 LOperand* map = UseRegisterAtStart(instr->value()); | 1810 LOperand* map = UseRegisterAtStart(instr->value()); |
1811 return DefineAsRegister(new(zone()) LMapEnumLength(map)); | 1811 return DefineAsRegister(new(zone()) LMapEnumLength(map)); |
1812 } | 1812 } |
1813 | 1813 |
1814 | 1814 |
1815 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { | 1815 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { |
1816 LOperand* date = UseFixed(instr->value(), eax); | 1816 LOperand* date = UseFixed(instr->value(), eax); |
1817 LDateField* result = | 1817 LDateField* result = |
1818 new(zone()) LDateField(date, FixedTemp(ecx), instr->index()); | 1818 new(zone()) LDateField(date, FixedTemp(ecx), instr->index()); |
1819 return MarkAsCall(DefineFixed(result, eax), instr, CAN_DEOPTIMIZE_EAGERLY); | 1819 return MarkAsCall(DefineFixed(result, eax), instr, CANNOT_DEOPTIMIZE_EAGERLY); |
1820 } | 1820 } |
1821 | 1821 |
1822 | 1822 |
1823 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { | 1823 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { |
1824 LOperand* string = UseRegisterAtStart(instr->string()); | 1824 LOperand* string = UseRegisterAtStart(instr->string()); |
1825 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); | 1825 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); |
1826 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); | 1826 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); |
1827 } | 1827 } |
1828 | 1828 |
1829 | 1829 |
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2732 LAllocateBlockContext* result = | 2732 LAllocateBlockContext* result = |
2733 new(zone()) LAllocateBlockContext(context, function); | 2733 new(zone()) LAllocateBlockContext(context, function); |
2734 return MarkAsCall(DefineFixed(result, esi), instr); | 2734 return MarkAsCall(DefineFixed(result, esi), instr); |
2735 } | 2735 } |
2736 | 2736 |
2737 | 2737 |
2738 } // namespace internal | 2738 } // namespace internal |
2739 } // namespace v8 | 2739 } // namespace v8 |
2740 | 2740 |
2741 #endif // V8_TARGET_ARCH_IA32 | 2741 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |