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_X64 | 9 #if V8_TARGET_ARCH_X64 |
10 | 10 |
(...skipping 1775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1786 | 1786 |
1787 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { | 1787 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { |
1788 LOperand* map = UseRegisterAtStart(instr->value()); | 1788 LOperand* map = UseRegisterAtStart(instr->value()); |
1789 return DefineAsRegister(new(zone()) LMapEnumLength(map)); | 1789 return DefineAsRegister(new(zone()) LMapEnumLength(map)); |
1790 } | 1790 } |
1791 | 1791 |
1792 | 1792 |
1793 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { | 1793 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { |
1794 LOperand* object = UseFixed(instr->value(), rax); | 1794 LOperand* object = UseFixed(instr->value(), rax); |
1795 LDateField* result = new(zone()) LDateField(object, instr->index()); | 1795 LDateField* result = new(zone()) LDateField(object, instr->index()); |
1796 return MarkAsCall(DefineFixed(result, rax), instr, CAN_DEOPTIMIZE_EAGERLY); | 1796 return MarkAsCall(DefineFixed(result, rax), instr, CANNOT_DEOPTIMIZE_EAGERLY); |
1797 } | 1797 } |
1798 | 1798 |
1799 | 1799 |
1800 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { | 1800 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { |
1801 LOperand* string = UseRegisterAtStart(instr->string()); | 1801 LOperand* string = UseRegisterAtStart(instr->string()); |
1802 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); | 1802 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); |
1803 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); | 1803 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); |
1804 } | 1804 } |
1805 | 1805 |
1806 | 1806 |
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2704 LAllocateBlockContext* result = | 2704 LAllocateBlockContext* result = |
2705 new(zone()) LAllocateBlockContext(context, function); | 2705 new(zone()) LAllocateBlockContext(context, function); |
2706 return MarkAsCall(DefineFixed(result, rsi), instr); | 2706 return MarkAsCall(DefineFixed(result, rsi), instr); |
2707 } | 2707 } |
2708 | 2708 |
2709 | 2709 |
2710 } // namespace internal | 2710 } // namespace internal |
2711 } // namespace v8 | 2711 } // namespace v8 |
2712 | 2712 |
2713 #endif // V8_TARGET_ARCH_X64 | 2713 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |