OLD | NEW |
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 <deque> | 8 #include <deque> |
9 | 9 |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 // by {node}. | 132 // by {node}. |
133 void MarkAsRepresentation(MachineType rep, Node* node); | 133 void MarkAsRepresentation(MachineType rep, Node* node); |
134 | 134 |
135 // Initialize the call buffer with the InstructionOperands, nodes, etc, | 135 // Initialize the call buffer with the InstructionOperands, nodes, etc, |
136 // corresponding | 136 // corresponding |
137 // to the inputs and outputs of the call. | 137 // to the inputs and outputs of the call. |
138 // {call_code_immediate} to generate immediate operands to calls of code. | 138 // {call_code_immediate} to generate immediate operands to calls of code. |
139 // {call_address_immediate} to generate immediate operands to address calls. | 139 // {call_address_immediate} to generate immediate operands to address calls. |
140 void InitializeCallBuffer(Node* call, CallBuffer* buffer, | 140 void InitializeCallBuffer(Node* call, CallBuffer* buffer, |
141 bool call_code_immediate, | 141 bool call_code_immediate, |
142 bool call_address_immediate, BasicBlock* cont_node, | 142 bool call_address_immediate); |
143 BasicBlock* deopt_node); | |
144 | 143 |
145 FrameStateDescriptor* GetFrameStateDescriptor(Node* node); | 144 FrameStateDescriptor* GetFrameStateDescriptor(Node* node); |
146 void AddFrameStateInputs(Node* state, InstructionOperandVector* inputs, | 145 void AddFrameStateInputs(Node* state, InstructionOperandVector* inputs, |
147 FrameStateDescriptor* descriptor); | 146 FrameStateDescriptor* descriptor); |
148 | 147 |
149 // =========================================================================== | 148 // =========================================================================== |
150 // ============= Architecture-specific graph covering methods. =============== | 149 // ============= Architecture-specific graph covering methods. =============== |
151 // =========================================================================== | 150 // =========================================================================== |
152 | 151 |
153 // Visit nodes in the given block and generate code. | 152 // Visit nodes in the given block and generate code. |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 ZoneDeque<Instruction*> instructions_; | 204 ZoneDeque<Instruction*> instructions_; |
206 BoolVector defined_; | 205 BoolVector defined_; |
207 BoolVector used_; | 206 BoolVector used_; |
208 }; | 207 }; |
209 | 208 |
210 } // namespace compiler | 209 } // namespace compiler |
211 } // namespace internal | 210 } // namespace internal |
212 } // namespace v8 | 211 } // namespace v8 |
213 | 212 |
214 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 213 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |