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

Side by Side Diff: src/compiler/arm64/instruction-selector-arm64.cc

Issue 1702423002: [turbofan] Further fixing ES6 tail call elimination in Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@tco-turbo
Patch Set: Addressing comments Created 4 years, 9 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/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/code-generator.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 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 "src/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after
1660 // same type. 1660 // same type.
1661 // Emit(kArm64PokePair, g.NoOutput(), g.UseRegister((*arguments)[slot]), 1661 // Emit(kArm64PokePair, g.NoOutput(), g.UseRegister((*arguments)[slot]),
1662 // g.UseRegister((*arguments)[slot - 1]), g.TempImmediate(slot)); 1662 // g.UseRegister((*arguments)[slot - 1]), g.TempImmediate(slot));
1663 // slot -= 2; 1663 // slot -= 2;
1664 } 1664 }
1665 } 1665 }
1666 1666
1667 1667
1668 bool InstructionSelector::IsTailCallAddressImmediate() { return false; } 1668 bool InstructionSelector::IsTailCallAddressImmediate() { return false; }
1669 1669
1670 int InstructionSelector::GetTempsCountForTailCallFromJSFunction() { return 3; }
1670 1671
1671 namespace { 1672 namespace {
1672 1673
1673 // Shared routine for multiple compare operations. 1674 // Shared routine for multiple compare operations.
1674 void VisitCompare(InstructionSelector* selector, InstructionCode opcode, 1675 void VisitCompare(InstructionSelector* selector, InstructionCode opcode,
1675 InstructionOperand left, InstructionOperand right, 1676 InstructionOperand left, InstructionOperand right,
1676 FlagsContinuation* cont) { 1677 FlagsContinuation* cont) {
1677 Arm64OperandGenerator g(selector); 1678 Arm64OperandGenerator g(selector);
1678 opcode = cont->Encode(opcode); 1679 opcode = cont->Encode(opcode);
1679 if (cont->IsBranch()) { 1680 if (cont->IsBranch()) {
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
2264 MachineOperatorBuilder::kWord32ShiftIsSafe | 2265 MachineOperatorBuilder::kWord32ShiftIsSafe |
2265 MachineOperatorBuilder::kInt32DivIsSafe | 2266 MachineOperatorBuilder::kInt32DivIsSafe |
2266 MachineOperatorBuilder::kUint32DivIsSafe | 2267 MachineOperatorBuilder::kUint32DivIsSafe |
2267 MachineOperatorBuilder::kWord32ReverseBits | 2268 MachineOperatorBuilder::kWord32ReverseBits |
2268 MachineOperatorBuilder::kWord64ReverseBits; 2269 MachineOperatorBuilder::kWord64ReverseBits;
2269 } 2270 }
2270 2271
2271 } // namespace compiler 2272 } // namespace compiler
2272 } // namespace internal 2273 } // namespace internal
2273 } // namespace v8 2274 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/code-generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698