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

Side by Side Diff: src/compiler/ia32/instruction-selector-ia32.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/ia32/code-generator-ia32.cc ('k') | src/compiler/instruction-codes.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/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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 } else { 986 } else {
987 Emit(kIA32Push, g.NoOutput(), value); 987 Emit(kIA32Push, g.NoOutput(), value);
988 } 988 }
989 } 989 }
990 } 990 }
991 } 991 }
992 992
993 993
994 bool InstructionSelector::IsTailCallAddressImmediate() { return true; } 994 bool InstructionSelector::IsTailCallAddressImmediate() { return true; }
995 995
996 int InstructionSelector::GetTempsCountForTailCallFromJSFunction() { return 0; }
996 997
997 namespace { 998 namespace {
998 999
999 void VisitCompareWithMemoryOperand(InstructionSelector* selector, 1000 void VisitCompareWithMemoryOperand(InstructionSelector* selector,
1000 InstructionCode opcode, Node* left, 1001 InstructionCode opcode, Node* left,
1001 InstructionOperand right, 1002 InstructionOperand right,
1002 FlagsContinuation* cont) { 1003 FlagsContinuation* cont) {
1003 DCHECK(left->opcode() == IrOpcode::kLoad); 1004 DCHECK(left->opcode() == IrOpcode::kLoad);
1004 IA32OperandGenerator g(selector); 1005 IA32OperandGenerator g(selector);
1005 size_t input_count = 0; 1006 size_t input_count = 0;
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
1444 MachineOperatorBuilder::kFloat64RoundTruncate | 1445 MachineOperatorBuilder::kFloat64RoundTruncate |
1445 MachineOperatorBuilder::kFloat32RoundTiesEven | 1446 MachineOperatorBuilder::kFloat32RoundTiesEven |
1446 MachineOperatorBuilder::kFloat64RoundTiesEven; 1447 MachineOperatorBuilder::kFloat64RoundTiesEven;
1447 } 1448 }
1448 return flags; 1449 return flags;
1449 } 1450 }
1450 1451
1451 } // namespace compiler 1452 } // namespace compiler
1452 } // namespace internal 1453 } // namespace internal
1453 } // namespace v8 1454 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/code-generator-ia32.cc ('k') | src/compiler/instruction-codes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698