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

Side by Side Diff: src/crankshaft/arm64/lithium-arm64.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/arm64/lithium-arm64.h ('k') | src/crankshaft/arm64/lithium-codegen-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/arm64/lithium-arm64.h" 5 #include "src/crankshaft/arm64/lithium-arm64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 if (instr->HasNoUses()) return NULL; 1361 if (instr->HasNoUses()) return NULL;
1362 1362
1363 if (info()->IsStub()) { 1363 if (info()->IsStub()) {
1364 return DefineFixed(new(zone()) LContext, cp); 1364 return DefineFixed(new(zone()) LContext, cp);
1365 } 1365 }
1366 1366
1367 return DefineAsRegister(new(zone()) LContext); 1367 return DefineAsRegister(new(zone()) LContext);
1368 } 1368 }
1369 1369
1370 1370
1371 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) {
1372 LOperand* object = UseFixed(instr->value(), x0);
1373 LDateField* result = new(zone()) LDateField(object, instr->index());
1374 return MarkAsCall(DefineFixed(result, x0), instr, CANNOT_DEOPTIMIZE_EAGERLY);
1375 }
1376
1377
1371 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) { 1378 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) {
1372 return new(zone()) LDebugBreak(); 1379 return new(zone()) LDebugBreak();
1373 } 1380 }
1374 1381
1375 1382
1376 LInstruction* LChunkBuilder::DoDeclareGlobals(HDeclareGlobals* instr) { 1383 LInstruction* LChunkBuilder::DoDeclareGlobals(HDeclareGlobals* instr) {
1377 LOperand* context = UseFixed(instr->context(), cp); 1384 LOperand* context = UseFixed(instr->context(), cp);
1378 return MarkAsCall(new(zone()) LDeclareGlobals(context), instr); 1385 return MarkAsCall(new(zone()) LDeclareGlobals(context), instr);
1379 } 1386 }
1380 1387
(...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after
2724 LOperand* context = UseFixed(instr->context(), cp); 2731 LOperand* context = UseFixed(instr->context(), cp);
2725 LOperand* function = UseRegisterAtStart(instr->function()); 2732 LOperand* function = UseRegisterAtStart(instr->function());
2726 LAllocateBlockContext* result = 2733 LAllocateBlockContext* result =
2727 new(zone()) LAllocateBlockContext(context, function); 2734 new(zone()) LAllocateBlockContext(context, function);
2728 return MarkAsCall(DefineFixed(result, cp), instr); 2735 return MarkAsCall(DefineFixed(result, cp), instr);
2729 } 2736 }
2730 2737
2731 2738
2732 } // namespace internal 2739 } // namespace internal
2733 } // namespace v8 2740 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/arm64/lithium-arm64.h ('k') | src/crankshaft/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698