| 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/mips64/lithium-mips64.h" | 5 #include "src/crankshaft/mips64/lithium-mips64.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #if V8_TARGET_ARCH_MIPS64 | 9 #if V8_TARGET_ARCH_MIPS64 |
| 10 | 10 |
| (...skipping 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1771 TempRegister()); | 1771 TempRegister()); |
| 1772 } | 1772 } |
| 1773 | 1773 |
| 1774 | 1774 |
| 1775 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { | 1775 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { |
| 1776 LOperand* map = UseRegisterAtStart(instr->value()); | 1776 LOperand* map = UseRegisterAtStart(instr->value()); |
| 1777 return DefineAsRegister(new(zone()) LMapEnumLength(map)); | 1777 return DefineAsRegister(new(zone()) LMapEnumLength(map)); |
| 1778 } | 1778 } |
| 1779 | 1779 |
| 1780 | 1780 |
| 1781 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { | |
| 1782 LOperand* object = UseFixed(instr->value(), a0); | |
| 1783 LDateField* result = | |
| 1784 new(zone()) LDateField(object, FixedTemp(a1), instr->index()); | |
| 1785 return MarkAsCall(DefineFixed(result, v0), instr, CANNOT_DEOPTIMIZE_EAGERLY); | |
| 1786 } | |
| 1787 | |
| 1788 | |
| 1789 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { | 1781 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { |
| 1790 LOperand* string = UseRegisterAtStart(instr->string()); | 1782 LOperand* string = UseRegisterAtStart(instr->string()); |
| 1791 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); | 1783 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); |
| 1792 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); | 1784 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); |
| 1793 } | 1785 } |
| 1794 | 1786 |
| 1795 | 1787 |
| 1796 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { | 1788 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { |
| 1797 LOperand* string = UseRegisterAtStart(instr->string()); | 1789 LOperand* string = UseRegisterAtStart(instr->string()); |
| 1798 LOperand* index = FLAG_debug_code | 1790 LOperand* index = FLAG_debug_code |
| (...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2590 LAllocateBlockContext* result = | 2582 LAllocateBlockContext* result = |
| 2591 new(zone()) LAllocateBlockContext(context, function); | 2583 new(zone()) LAllocateBlockContext(context, function); |
| 2592 return MarkAsCall(DefineFixed(result, cp), instr); | 2584 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2593 } | 2585 } |
| 2594 | 2586 |
| 2595 | 2587 |
| 2596 } // namespace internal | 2588 } // namespace internal |
| 2597 } // namespace v8 | 2589 } // namespace v8 |
| 2598 | 2590 |
| 2599 #endif // V8_TARGET_ARCH_MIPS64 | 2591 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |