| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 // Initialize the call buffer with the InstructionOperands, nodes, etc, | 164 // Initialize the call buffer with the InstructionOperands, nodes, etc, |
| 165 // corresponding | 165 // corresponding |
| 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 FillTypeVectorFromStateValues(ZoneVector<MachineType>* parameters, | |
| 175 Node* state_values); | |
| 176 void AddFrameStateInputs(Node* state, InstructionOperandVector* inputs, | 174 void AddFrameStateInputs(Node* state, InstructionOperandVector* inputs, |
| 177 FrameStateDescriptor* descriptor); | 175 FrameStateDescriptor* descriptor); |
| 178 MachineType GetMachineType(Node* node); | 176 MachineType GetMachineType(Node* node); |
| 179 | 177 |
| 180 // =========================================================================== | 178 // =========================================================================== |
| 181 // ============= Architecture-specific graph covering methods. =============== | 179 // ============= Architecture-specific graph covering methods. =============== |
| 182 // =========================================================================== | 180 // =========================================================================== |
| 183 | 181 |
| 184 // Visit nodes in the given block and generate code. | 182 // Visit nodes in the given block and generate code. |
| 185 void VisitBlock(BasicBlock* block); | 183 void VisitBlock(BasicBlock* block); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 BoolVector defined_; | 230 BoolVector defined_; |
| 233 BoolVector used_; | 231 BoolVector used_; |
| 234 IntVector virtual_registers_; | 232 IntVector virtual_registers_; |
| 235 }; | 233 }; |
| 236 | 234 |
| 237 } // namespace compiler | 235 } // namespace compiler |
| 238 } // namespace internal | 236 } // namespace internal |
| 239 } // namespace v8 | 237 } // namespace v8 |
| 240 | 238 |
| 241 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 239 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |