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

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

Issue 1268273003: [turbofan] Remove kInterpreterDispatch CallDescriptor kind in favor of flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | src/compiler/arm64/instruction-selector-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 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 // Compute InstructionOperands for inputs and outputs. 1183 // Compute InstructionOperands for inputs and outputs.
1184 // TODO(turbofan): on ARM it's probably better to use the code object in a 1184 // TODO(turbofan): on ARM it's probably better to use the code object in a
1185 // register if there are multiple uses of it. Improve constant pool and the 1185 // register if there are multiple uses of it. Improve constant pool and the
1186 // heuristics in the register allocator for where to emit constants. 1186 // heuristics in the register allocator for where to emit constants.
1187 InitializeCallBuffer(node, &buffer, true, false); 1187 InitializeCallBuffer(node, &buffer, true, false);
1188 1188
1189 // Select the appropriate opcode based on the call type. 1189 // Select the appropriate opcode based on the call type.
1190 InstructionCode opcode; 1190 InstructionCode opcode;
1191 switch (descriptor->kind()) { 1191 switch (descriptor->kind()) {
1192 case CallDescriptor::kCallCodeObject: 1192 case CallDescriptor::kCallCodeObject:
1193 case CallDescriptor::kInterpreterDispatch:
1194 opcode = kArchTailCallCodeObject; 1193 opcode = kArchTailCallCodeObject;
1195 break; 1194 break;
1196 case CallDescriptor::kCallJSFunction: 1195 case CallDescriptor::kCallJSFunction:
1197 opcode = kArchTailCallJSFunction; 1196 opcode = kArchTailCallJSFunction;
1198 break; 1197 break;
1199 default: 1198 default:
1200 UNREACHABLE(); 1199 UNREACHABLE();
1201 return; 1200 return;
1202 } 1201 }
1203 opcode |= MiscField::encode(descriptor->flags()); 1202 opcode |= MiscField::encode(descriptor->flags());
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1632 flags |= MachineOperatorBuilder::kFloat64RoundDown | 1631 flags |= MachineOperatorBuilder::kFloat64RoundDown |
1633 MachineOperatorBuilder::kFloat64RoundTruncate | 1632 MachineOperatorBuilder::kFloat64RoundTruncate |
1634 MachineOperatorBuilder::kFloat64RoundTiesAway; 1633 MachineOperatorBuilder::kFloat64RoundTiesAway;
1635 } 1634 }
1636 return flags; 1635 return flags;
1637 } 1636 }
1638 1637
1639 } // namespace compiler 1638 } // namespace compiler
1640 } // namespace internal 1639 } // namespace internal
1641 } // namespace v8 1640 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm64/instruction-selector-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698