| 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 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1765 | 1765 |
| 1766 | 1766 |
| 1767 LInstruction* LChunkBuilder::DoClassOfTestAndBranch( | 1767 LInstruction* LChunkBuilder::DoClassOfTestAndBranch( |
| 1768 HClassOfTestAndBranch* instr) { | 1768 HClassOfTestAndBranch* instr) { |
| 1769 DCHECK(instr->value()->representation().IsTagged()); | 1769 DCHECK(instr->value()->representation().IsTagged()); |
| 1770 return new(zone()) LClassOfTestAndBranch(UseRegister(instr->value()), | 1770 return new(zone()) LClassOfTestAndBranch(UseRegister(instr->value()), |
| 1771 TempRegister()); | 1771 TempRegister()); |
| 1772 } | 1772 } |
| 1773 | 1773 |
| 1774 | 1774 |
| 1775 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { | |
| 1776 LOperand* map = UseRegisterAtStart(instr->value()); | |
| 1777 return DefineAsRegister(new(zone()) LMapEnumLength(map)); | |
| 1778 } | |
| 1779 | |
| 1780 | |
| 1781 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { | 1775 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { |
| 1782 LOperand* string = UseRegisterAtStart(instr->string()); | 1776 LOperand* string = UseRegisterAtStart(instr->string()); |
| 1783 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); | 1777 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); |
| 1784 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); | 1778 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); |
| 1785 } | 1779 } |
| 1786 | 1780 |
| 1787 | 1781 |
| 1788 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { | 1782 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { |
| 1789 LOperand* string = UseRegisterAtStart(instr->string()); | 1783 LOperand* string = UseRegisterAtStart(instr->string()); |
| 1790 LOperand* index = FLAG_debug_code | 1784 LOperand* index = FLAG_debug_code |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2581 LAllocateBlockContext* result = | 2575 LAllocateBlockContext* result = |
| 2582 new(zone()) LAllocateBlockContext(context, function); | 2576 new(zone()) LAllocateBlockContext(context, function); |
| 2583 return MarkAsCall(DefineFixed(result, cp), instr); | 2577 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2584 } | 2578 } |
| 2585 | 2579 |
| 2586 | 2580 |
| 2587 } // namespace internal | 2581 } // namespace internal |
| 2588 } // namespace v8 | 2582 } // namespace v8 |
| 2589 | 2583 |
| 2590 #endif // V8_TARGET_ARCH_MIPS64 | 2584 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |