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

Side by Side Diff: src/compiler/arm/instruction-selector-arm.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/arm/code-generator-arm.cc ('k') | src/compiler/arm64/code-generator-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 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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/base/bits.h" 6 #include "src/base/bits.h"
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 10
(...skipping 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 // Skip any alignment holes in pushed nodes. 1275 // Skip any alignment holes in pushed nodes.
1276 if (input.node() == nullptr) continue; 1276 if (input.node() == nullptr) continue;
1277 Emit(kArmPush, g.NoOutput(), g.UseRegister(input.node())); 1277 Emit(kArmPush, g.NoOutput(), g.UseRegister(input.node()));
1278 } 1278 }
1279 } 1279 }
1280 } 1280 }
1281 1281
1282 1282
1283 bool InstructionSelector::IsTailCallAddressImmediate() { return false; } 1283 bool InstructionSelector::IsTailCallAddressImmediate() { return false; }
1284 1284
1285 int InstructionSelector::GetTempsCountForTailCallFromJSFunction() { return 3; }
1285 1286
1286 namespace { 1287 namespace {
1287 1288
1288 // Shared routine for multiple compare operations. 1289 // Shared routine for multiple compare operations.
1289 void VisitCompare(InstructionSelector* selector, InstructionCode opcode, 1290 void VisitCompare(InstructionSelector* selector, InstructionCode opcode,
1290 InstructionOperand left, InstructionOperand right, 1291 InstructionOperand left, InstructionOperand right,
1291 FlagsContinuation* cont) { 1292 FlagsContinuation* cont) {
1292 ArmOperandGenerator g(selector); 1293 ArmOperandGenerator g(selector);
1293 opcode = cont->Encode(opcode); 1294 opcode = cont->Encode(opcode);
1294 if (cont->IsBranch()) { 1295 if (cont->IsBranch()) {
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1712 MachineOperatorBuilder::kFloat64RoundTiesAway | 1713 MachineOperatorBuilder::kFloat64RoundTiesAway |
1713 MachineOperatorBuilder::kFloat32RoundTiesEven | 1714 MachineOperatorBuilder::kFloat32RoundTiesEven |
1714 MachineOperatorBuilder::kFloat64RoundTiesEven; 1715 MachineOperatorBuilder::kFloat64RoundTiesEven;
1715 } 1716 }
1716 return flags; 1717 return flags;
1717 } 1718 }
1718 1719
1719 } // namespace compiler 1720 } // namespace compiler
1720 } // namespace internal 1721 } // namespace internal
1721 } // namespace v8 1722 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698