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

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

Issue 1167813003: [date] Refactor the %_DateField intrinsic to be optimizable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments. 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/mips64/lithium-codegen-mips64.cc ('k') | src/runtime/runtime.h » ('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 <sstream> 5 #include <sstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 1785 matching lines...) Expand 10 before | Expand all | Expand 10 after
1796 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { 1796 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) {
1797 LOperand* map = UseRegisterAtStart(instr->value()); 1797 LOperand* map = UseRegisterAtStart(instr->value());
1798 return DefineAsRegister(new(zone()) LMapEnumLength(map)); 1798 return DefineAsRegister(new(zone()) LMapEnumLength(map));
1799 } 1799 }
1800 1800
1801 1801
1802 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { 1802 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) {
1803 LOperand* object = UseFixed(instr->value(), a0); 1803 LOperand* object = UseFixed(instr->value(), a0);
1804 LDateField* result = 1804 LDateField* result =
1805 new(zone()) LDateField(object, FixedTemp(a1), instr->index()); 1805 new(zone()) LDateField(object, FixedTemp(a1), instr->index());
1806 return MarkAsCall(DefineFixed(result, v0), instr, CAN_DEOPTIMIZE_EAGERLY); 1806 return MarkAsCall(DefineFixed(result, v0), instr, CANNOT_DEOPTIMIZE_EAGERLY);
1807 } 1807 }
1808 1808
1809 1809
1810 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) { 1810 LInstruction* LChunkBuilder::DoSeqStringGetChar(HSeqStringGetChar* instr) {
1811 LOperand* string = UseRegisterAtStart(instr->string()); 1811 LOperand* string = UseRegisterAtStart(instr->string());
1812 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); 1812 LOperand* index = UseRegisterOrConstantAtStart(instr->index());
1813 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index)); 1813 return DefineAsRegister(new(zone()) LSeqStringGetChar(string, index));
1814 } 1814 }
1815 1815
1816 1816
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
2617 LAllocateBlockContext* result = 2617 LAllocateBlockContext* result =
2618 new(zone()) LAllocateBlockContext(context, function); 2618 new(zone()) LAllocateBlockContext(context, function);
2619 return MarkAsCall(DefineFixed(result, cp), instr); 2619 return MarkAsCall(DefineFixed(result, cp), instr);
2620 } 2620 }
2621 2621
2622 2622
2623 } // namespace internal 2623 } // namespace internal
2624 } // namespace v8 2624 } // namespace v8
2625 2625
2626 #endif // V8_TARGET_ARCH_MIPS64 2626 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/lithium-codegen-mips64.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698