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

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

Issue 1777563002: X87: [turbofan] Further fixing ES6 tail call elimination in Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/x87/code-generator-x87.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.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/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 ? g.UseRegister(input.node()) 1010 ? g.UseRegister(input.node())
1011 : g.Use(input.node()); 1011 : g.Use(input.node());
1012 Emit(kX87Push, g.NoOutput(), value); 1012 Emit(kX87Push, g.NoOutput(), value);
1013 } 1013 }
1014 } 1014 }
1015 } 1015 }
1016 1016
1017 1017
1018 bool InstructionSelector::IsTailCallAddressImmediate() { return true; } 1018 bool InstructionSelector::IsTailCallAddressImmediate() { return true; }
1019 1019
1020 int InstructionSelector::GetTempsCountForTailCallFromJSFunction() { return 0; }
1020 1021
1021 namespace { 1022 namespace {
1022 1023
1023 void VisitCompareWithMemoryOperand(InstructionSelector* selector, 1024 void VisitCompareWithMemoryOperand(InstructionSelector* selector,
1024 InstructionCode opcode, Node* left, 1025 InstructionCode opcode, Node* left,
1025 InstructionOperand right, 1026 InstructionOperand right,
1026 FlagsContinuation* cont) { 1027 FlagsContinuation* cont) {
1027 DCHECK(left->opcode() == IrOpcode::kLoad); 1028 DCHECK(left->opcode() == IrOpcode::kLoad);
1028 X87OperandGenerator g(selector); 1029 X87OperandGenerator g(selector);
1029 size_t input_count = 0; 1030 size_t input_count = 0;
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 MachineOperatorBuilder::kFloat32RoundTruncate | 1487 MachineOperatorBuilder::kFloat32RoundTruncate |
1487 MachineOperatorBuilder::kFloat64RoundTruncate | 1488 MachineOperatorBuilder::kFloat64RoundTruncate |
1488 MachineOperatorBuilder::kFloat32RoundTiesEven | 1489 MachineOperatorBuilder::kFloat32RoundTiesEven |
1489 MachineOperatorBuilder::kFloat64RoundTiesEven; 1490 MachineOperatorBuilder::kFloat64RoundTiesEven;
1490 return flags; 1491 return flags;
1491 } 1492 }
1492 1493
1493 } // namespace compiler 1494 } // namespace compiler
1494 } // namespace internal 1495 } // namespace internal
1495 } // namespace v8 1496 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/x87/code-generator-x87.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698