| 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 <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 // to the inputs and outputs of the call. | 166 // to the inputs and outputs of the call. |
| 167 // {call_code_immediate} to generate immediate operands to calls of code. | 167 // {call_code_immediate} to generate immediate operands to calls of code. |
| 168 // {call_address_immediate} to generate immediate operands to address calls. | 168 // {call_address_immediate} to generate immediate operands to address calls. |
| 169 void InitializeCallBuffer(Node* call, CallBuffer* buffer, | 169 void InitializeCallBuffer(Node* call, CallBuffer* buffer, |
| 170 bool call_code_immediate, | 170 bool call_code_immediate, |
| 171 bool call_address_immediate); | 171 bool call_address_immediate); |
| 172 | 172 |
| 173 FrameStateDescriptor* GetFrameStateDescriptor(Node* node); | 173 FrameStateDescriptor* GetFrameStateDescriptor(Node* node); |
| 174 void AddFrameStateInputs(Node* state, InstructionOperandVector* inputs, | 174 void AddFrameStateInputs(Node* state, InstructionOperandVector* inputs, |
| 175 FrameStateDescriptor* descriptor); | 175 FrameStateDescriptor* descriptor); |
| 176 MachineType GetMachineType(Node* node); | |
| 177 | 176 |
| 178 // =========================================================================== | 177 // =========================================================================== |
| 179 // ============= Architecture-specific graph covering methods. =============== | 178 // ============= Architecture-specific graph covering methods. =============== |
| 180 // =========================================================================== | 179 // =========================================================================== |
| 181 | 180 |
| 182 // Visit nodes in the given block and generate code. | 181 // Visit nodes in the given block and generate code. |
| 183 void VisitBlock(BasicBlock* block); | 182 void VisitBlock(BasicBlock* block); |
| 184 | 183 |
| 185 // Visit the node for the control flow at the end of the block, generating | 184 // Visit the node for the control flow at the end of the block, generating |
| 186 // code if necessary. | 185 // code if necessary. |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 BoolVector defined_; | 229 BoolVector defined_; |
| 231 BoolVector used_; | 230 BoolVector used_; |
| 232 IntVector virtual_registers_; | 231 IntVector virtual_registers_; |
| 233 }; | 232 }; |
| 234 | 233 |
| 235 } // namespace compiler | 234 } // namespace compiler |
| 236 } // namespace internal | 235 } // namespace internal |
| 237 } // namespace v8 | 236 } // namespace v8 |
| 238 | 237 |
| 239 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 238 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |