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

Side by Side Diff: src/ppc/lithium-ppc.cc

Issue 1170463002: PPC: [date] Refactor the %_DateField intrinsic to be optimizable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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/ppc/lithium-codegen-ppc.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/hydrogen-osr.h" 9 #include "src/hydrogen-osr.h"
10 #include "src/lithium-inl.h" 10 #include "src/lithium-inl.h"
(...skipping 1797 matching lines...) Expand 10 before | Expand all | Expand 10 after
1808 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { 1808 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) {
1809 LOperand* map = UseRegisterAtStart(instr->value()); 1809 LOperand* map = UseRegisterAtStart(instr->value());
1810 return DefineAsRegister(new (zone()) LMapEnumLength(map)); 1810 return DefineAsRegister(new (zone()) LMapEnumLength(map));
1811 } 1811 }
1812 1812
1813 1813
1814 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { 1814 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) {
1815 LOperand* object = UseFixed(instr->value(), r3); 1815 LOperand* object = UseFixed(instr->value(), r3);
1816 LDateField* result = 1816 LDateField* result =
1817 new (zone()) LDateField(object, FixedTemp(r4), instr->index()); 1817 new (zone()) LDateField(object, FixedTemp(r4), instr->index());
1818 return MarkAsCall(DefineFixed(result, r3), instr, CAN_DEOPTIMIZE_EAGERLY); 1818 return MarkAsCall(DefineFixed(result, r3), instr, CANNOT_DEOPTIMIZE_EAGERLY);
1819 } 1819 }
1820 1820
1821 1821
1822 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { 1822 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) {
1823 LOperand* string = UseRegisterAtStart(instr->string()); 1823 LOperand* string = UseRegisterAtStart(instr->string());
1824 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); 1824 LOperand* index = UseRegisterOrConstantAtStart(instr->index());
1825 return DefineAsRegister(new (zone()) LSeqStringGetChar(string, index)); 1825 return DefineAsRegister(new (zone()) LSeqStringGetChar(string, index));
1826 } 1826 }
1827 1827
1828 1828
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
2615 LInstruction* LChunkBuilder::DoAllocateBlockContext( 2615 LInstruction* LChunkBuilder::DoAllocateBlockContext(
2616 HAllocateBlockContext* instr) { 2616 HAllocateBlockContext* instr) {
2617 LOperand* context = UseFixed(instr->context(), cp); 2617 LOperand* context = UseFixed(instr->context(), cp);
2618 LOperand* function = UseRegisterAtStart(instr->function()); 2618 LOperand* function = UseRegisterAtStart(instr->function());
2619 LAllocateBlockContext* result = 2619 LAllocateBlockContext* result =
2620 new (zone()) LAllocateBlockContext(context, function); 2620 new (zone()) LAllocateBlockContext(context, function);
2621 return MarkAsCall(DefineFixed(result, cp), instr); 2621 return MarkAsCall(DefineFixed(result, cp), instr);
2622 } 2622 }
2623 } // namespace internal 2623 } // namespace internal
2624 } // namespace v8 2624 } // namespace v8
OLDNEW
« no previous file with comments | « src/ppc/lithium-codegen-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698