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

Side by Side Diff: src/compiler/mips/instruction-selector-mips.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/mips/code-generator-mips.cc ('k') | src/compiler/mips64/code-generator-mips64.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 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 Emit(kMipsStoreToStackSlot, g.NoOutput(), g.UseRegister(input.node()), 876 Emit(kMipsStoreToStackSlot, g.NoOutput(), g.UseRegister(input.node()),
877 g.TempImmediate(n << kPointerSizeLog2)); 877 g.TempImmediate(n << kPointerSizeLog2));
878 } 878 }
879 } 879 }
880 } 880 }
881 } 881 }
882 882
883 883
884 bool InstructionSelector::IsTailCallAddressImmediate() { return false; } 884 bool InstructionSelector::IsTailCallAddressImmediate() { return false; }
885 885
886 int InstructionSelector::GetTempsCountForTailCallFromJSFunction() { return 3; }
886 887
887 void InstructionSelector::VisitCheckedLoad(Node* node) { 888 void InstructionSelector::VisitCheckedLoad(Node* node) {
888 CheckedLoadRepresentation load_rep = CheckedLoadRepresentationOf(node->op()); 889 CheckedLoadRepresentation load_rep = CheckedLoadRepresentationOf(node->op());
889 MipsOperandGenerator g(this); 890 MipsOperandGenerator g(this);
890 Node* const buffer = node->InputAt(0); 891 Node* const buffer = node->InputAt(0);
891 Node* const offset = node->InputAt(1); 892 Node* const offset = node->InputAt(1);
892 Node* const length = node->InputAt(2); 893 Node* const length = node->InputAt(2);
893 ArchOpcode opcode = kArchNop; 894 ArchOpcode opcode = kArchNop;
894 switch (load_rep.representation()) { 895 switch (load_rep.representation()) {
895 case MachineRepresentation::kWord8: 896 case MachineRepresentation::kWord8:
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 MachineOperatorBuilder::kFloat32Max | 1389 MachineOperatorBuilder::kFloat32Max |
1389 MachineOperatorBuilder::kFloat32RoundDown | 1390 MachineOperatorBuilder::kFloat32RoundDown |
1390 MachineOperatorBuilder::kFloat32RoundUp | 1391 MachineOperatorBuilder::kFloat32RoundUp |
1391 MachineOperatorBuilder::kFloat32RoundTruncate | 1392 MachineOperatorBuilder::kFloat32RoundTruncate |
1392 MachineOperatorBuilder::kFloat32RoundTiesEven; 1393 MachineOperatorBuilder::kFloat32RoundTiesEven;
1393 } 1394 }
1394 1395
1395 } // namespace compiler 1396 } // namespace compiler
1396 } // namespace internal 1397 } // namespace internal
1397 } // namespace v8 1398 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/code-generator-mips.cc ('k') | src/compiler/mips64/code-generator-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698