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

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

Issue 1479233002: Deprecate the %IsConstructCall intrinsic completely. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_js-use-new-target-3
Patch Set: Rebased. Created 5 years 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 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after
1564 1564
1565 LInstruction* LChunkBuilder::DoInvokeFunction(HInvokeFunction* instr) { 1565 LInstruction* LChunkBuilder::DoInvokeFunction(HInvokeFunction* instr) {
1566 LOperand* context = UseFixed(instr->context(), cp); 1566 LOperand* context = UseFixed(instr->context(), cp);
1567 // The function is required (by MacroAssembler::InvokeFunction) to be in x1. 1567 // The function is required (by MacroAssembler::InvokeFunction) to be in x1.
1568 LOperand* function = UseFixed(instr->function(), x1); 1568 LOperand* function = UseFixed(instr->function(), x1);
1569 LInvokeFunction* result = new(zone()) LInvokeFunction(context, function); 1569 LInvokeFunction* result = new(zone()) LInvokeFunction(context, function);
1570 return MarkAsCall(DefineFixed(result, x0), instr, CANNOT_DEOPTIMIZE_EAGERLY); 1570 return MarkAsCall(DefineFixed(result, x0), instr, CANNOT_DEOPTIMIZE_EAGERLY);
1571 } 1571 }
1572 1572
1573 1573
1574 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch(
1575 HIsConstructCallAndBranch* instr) {
1576 return new(zone()) LIsConstructCallAndBranch(TempRegister(), TempRegister());
1577 }
1578
1579
1580 LInstruction* LChunkBuilder::DoCompareMinusZeroAndBranch( 1574 LInstruction* LChunkBuilder::DoCompareMinusZeroAndBranch(
1581 HCompareMinusZeroAndBranch* instr) { 1575 HCompareMinusZeroAndBranch* instr) {
1582 LOperand* value = UseRegister(instr->value()); 1576 LOperand* value = UseRegister(instr->value());
1583 LOperand* scratch = TempRegister(); 1577 LOperand* scratch = TempRegister();
1584 return new(zone()) LCompareMinusZeroAndBranch(value, scratch); 1578 return new(zone()) LCompareMinusZeroAndBranch(value, scratch);
1585 } 1579 }
1586 1580
1587 1581
1588 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) { 1582 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) {
1589 DCHECK(instr->value()->representation().IsTagged()); 1583 DCHECK(instr->value()->representation().IsTagged());
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
2731 LOperand* context = UseFixed(instr->context(), cp); 2725 LOperand* context = UseFixed(instr->context(), cp);
2732 LOperand* function = UseRegisterAtStart(instr->function()); 2726 LOperand* function = UseRegisterAtStart(instr->function());
2733 LAllocateBlockContext* result = 2727 LAllocateBlockContext* result =
2734 new(zone()) LAllocateBlockContext(context, function); 2728 new(zone()) LAllocateBlockContext(context, function);
2735 return MarkAsCall(DefineFixed(result, cp), instr); 2729 return MarkAsCall(DefineFixed(result, cp), instr);
2736 } 2730 }
2737 2731
2738 2732
2739 } // namespace internal 2733 } // namespace internal
2740 } // namespace v8 2734 } // 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