Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Side by Side Diff: src/crankshaft/mips64/lithium-mips64.cc

Issue 1574223002: Revert of [builtins] Refactor the remaining Date builtins. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/crankshaft/mips64/lithium-mips64.h ('k') | src/crankshaft/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
1781 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { 1789 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) {
1782 LOperand* string = UseRegisterAtStart(instr->string()); 1790 LOperand* string = UseRegisterAtStart(instr->string());
1783 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); 1791 LOperand* index = UseRegisterOrConstantAtStart(instr->index());
1784 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); 1792 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index));
1785 } 1793 }
1786 1794
1787 1795
1788 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { 1796 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) {
1789 LOperand* string = UseRegisterAtStart(instr->string()); 1797 LOperand* string = UseRegisterAtStart(instr->string());
1790 LOperand* index = FLAG_debug_code 1798 LOperand* index = FLAG_debug_code
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
2582 LAllocateBlockContext* result = 2590 LAllocateBlockContext* result =
2583 new(zone()) LAllocateBlockContext(context, function); 2591 new(zone()) LAllocateBlockContext(context, function);
2584 return MarkAsCall(DefineFixed(result, cp), instr); 2592 return MarkAsCall(DefineFixed(result, cp), instr);
2585 } 2593 }
2586 2594
2587 2595
2588 } // namespace internal 2596 } // namespace internal
2589 } // namespace v8 2597 } // namespace v8
2590 2598
2591 #endif // V8_TARGET_ARCH_MIPS64 2599 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/crankshaft/mips64/lithium-mips64.h ('k') | src/crankshaft/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698