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

Side by Side Diff: src/compiler/arm64/instruction-selector-arm64.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 | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/code-generator.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/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after
1485 // Compute InstructionOperands for inputs and outputs. 1485 // Compute InstructionOperands for inputs and outputs.
1486 // TODO(turbofan): on ARM64 it's probably better to use the code object in a 1486 // TODO(turbofan): on ARM64 it's probably better to use the code object in a
1487 // register if there are multiple uses of it. Improve constant pool and the 1487 // register if there are multiple uses of it. Improve constant pool and the
1488 // heuristics in the register allocator for where to emit constants. 1488 // heuristics in the register allocator for where to emit constants.
1489 InitializeCallBuffer(node, &buffer, true, false); 1489 InitializeCallBuffer(node, &buffer, true, false);
1490 1490
1491 // Select the appropriate opcode based on the call type. 1491 // Select the appropriate opcode based on the call type.
1492 InstructionCode opcode; 1492 InstructionCode opcode;
1493 switch (descriptor->kind()) { 1493 switch (descriptor->kind()) {
1494 case CallDescriptor::kCallCodeObject: 1494 case CallDescriptor::kCallCodeObject:
1495 case CallDescriptor::kInterpreterDispatch:
1496 opcode = kArchTailCallCodeObject; 1495 opcode = kArchTailCallCodeObject;
1497 break; 1496 break;
1498 case CallDescriptor::kCallJSFunction: 1497 case CallDescriptor::kCallJSFunction:
1499 opcode = kArchTailCallJSFunction; 1498 opcode = kArchTailCallJSFunction;
1500 break; 1499 break;
1501 default: 1500 default:
1502 UNREACHABLE(); 1501 UNREACHABLE();
1503 return; 1502 return;
1504 } 1503 }
1505 opcode |= MiscField::encode(descriptor->flags()); 1504 opcode |= MiscField::encode(descriptor->flags());
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
2078 MachineOperatorBuilder::kFloat64RoundTruncate | 2077 MachineOperatorBuilder::kFloat64RoundTruncate |
2079 MachineOperatorBuilder::kFloat64RoundTiesAway | 2078 MachineOperatorBuilder::kFloat64RoundTiesAway |
2080 MachineOperatorBuilder::kWord32ShiftIsSafe | 2079 MachineOperatorBuilder::kWord32ShiftIsSafe |
2081 MachineOperatorBuilder::kInt32DivIsSafe | 2080 MachineOperatorBuilder::kInt32DivIsSafe |
2082 MachineOperatorBuilder::kUint32DivIsSafe; 2081 MachineOperatorBuilder::kUint32DivIsSafe;
2083 } 2082 }
2084 2083
2085 } // namespace compiler 2084 } // namespace compiler
2086 } // namespace internal 2085 } // namespace internal
2087 } // namespace v8 2086 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/code-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698