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

Side by Side Diff: src/arm64/lithium-arm64.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/arm64/full-codegen-arm64.cc ('k') | src/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 <sstream> 5 #include <sstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/arm64/lithium-codegen-arm64.h" 9 #include "src/arm64/lithium-codegen-arm64.h"
10 #include "src/hydrogen-osr.h" 10 #include "src/hydrogen-osr.h"
(...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 return DefineFixed(new(zone()) LContext, cp); 1384 return DefineFixed(new(zone()) LContext, cp);
1385 } 1385 }
1386 1386
1387 return DefineAsRegister(new(zone()) LContext); 1387 return DefineAsRegister(new(zone()) LContext);
1388 } 1388 }
1389 1389
1390 1390
1391 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { 1391 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) {
1392 LOperand* object = UseFixed(instr->value(), x0); 1392 LOperand* object = UseFixed(instr->value(), x0);
1393 LDateField* result = new(zone()) LDateField(object, instr->index()); 1393 LDateField* result = new(zone()) LDateField(object, instr->index());
1394 return MarkAsCall(DefineFixed(result, x0), instr, CAN_DEOPTIMIZE_EAGERLY); 1394 return MarkAsCall(DefineFixed(result, x0), instr, CANNOT_DEOPTIMIZE_EAGERLY);
1395 } 1395 }
1396 1396
1397 1397
1398 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) { 1398 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) {
1399 return new(zone()) LDebugBreak(); 1399 return new(zone()) LDebugBreak();
1400 } 1400 }
1401 1401
1402 1402
1403 LInstruction* LChunkBuilder::DoDeclareGlobals(HDeclareGlobals* instr) { 1403 LInstruction* LChunkBuilder::DoDeclareGlobals(HDeclareGlobals* instr) {
1404 LOperand* context = UseFixed(instr->context(), cp); 1404 LOperand* context = UseFixed(instr->context(), cp);
(...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after
2759 LOperand* context = UseFixed(instr->context(), cp); 2759 LOperand* context = UseFixed(instr->context(), cp);
2760 LOperand* function = UseRegisterAtStart(instr->function()); 2760 LOperand* function = UseRegisterAtStart(instr->function());
2761 LAllocateBlockContext* result = 2761 LAllocateBlockContext* result =
2762 new(zone()) LAllocateBlockContext(context, function); 2762 new(zone()) LAllocateBlockContext(context, function);
2763 return MarkAsCall(DefineFixed(result, cp), instr); 2763 return MarkAsCall(DefineFixed(result, cp), instr);
2764 } 2764 }
2765 2765
2766 2766
2767 } // namespace internal 2767 } // namespace internal
2768 } // namespace v8 2768 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698