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

Side by Side Diff: src/compiler/instruction-selector.h

Issue 1414223004: [turbofan] Move platform-independent bits of VisitTailCall to instruction-selector.cc (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/instruction-selector-ia32.cc ('k') | src/compiler/instruction-selector.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 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 void MarkAsRepresentation(MachineType rep, const InstructionOperand& op); 165 void MarkAsRepresentation(MachineType rep, const InstructionOperand& op);
166 166
167 // Initialize the call buffer with the InstructionOperands, nodes, etc, 167 // Initialize the call buffer with the InstructionOperands, nodes, etc,
168 // corresponding 168 // corresponding
169 // to the inputs and outputs of the call. 169 // to the inputs and outputs of the call.
170 // {call_code_immediate} to generate immediate operands to calls of code. 170 // {call_code_immediate} to generate immediate operands to calls of code.
171 // {call_address_immediate} to generate immediate operands to address calls. 171 // {call_address_immediate} to generate immediate operands to address calls.
172 void InitializeCallBuffer(Node* call, CallBuffer* buffer, 172 void InitializeCallBuffer(Node* call, CallBuffer* buffer,
173 bool call_code_immediate, 173 bool call_code_immediate,
174 bool call_address_immediate); 174 bool call_address_immediate);
175 bool IsTailCallAddressImmediate();
175 176
176 FrameStateDescriptor* GetFrameStateDescriptor(Node* node); 177 FrameStateDescriptor* GetFrameStateDescriptor(Node* node);
177 178
178 enum class FrameStateInputKind { kAny, kStackSlot }; 179 enum class FrameStateInputKind { kAny, kStackSlot };
179 void AddFrameStateInputs(Node* state, InstructionOperandVector* inputs, 180 void AddFrameStateInputs(Node* state, InstructionOperandVector* inputs,
180 FrameStateDescriptor* descriptor, 181 FrameStateDescriptor* descriptor,
181 FrameStateInputKind kind); 182 FrameStateInputKind kind);
182 static InstructionOperand OperandForDeopt(OperandGenerator* g, Node* input, 183 static InstructionOperand OperandForDeopt(OperandGenerator* g, Node* input,
183 FrameStateInputKind kind); 184 FrameStateInputKind kind);
184 185
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 BoolVector defined_; 242 BoolVector defined_;
242 BoolVector used_; 243 BoolVector used_;
243 IntVector virtual_registers_; 244 IntVector virtual_registers_;
244 }; 245 };
245 246
246 } // namespace compiler 247 } // namespace compiler
247 } // namespace internal 248 } // namespace internal
248 } // namespace v8 249 } // namespace v8
249 250
250 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 251 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698