| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 void MarkAsDouble(Node* node); | 123 void MarkAsDouble(Node* node); |
| 124 | 124 |
| 125 // Checks if {node} is marked as reference. | 125 // Checks if {node} is marked as reference. |
| 126 bool IsReference(const Node* node) const; | 126 bool IsReference(const Node* node) const; |
| 127 | 127 |
| 128 // Inform the register allocator of a reference result. | 128 // Inform the register allocator of a reference result. |
| 129 void MarkAsReference(Node* node); | 129 void MarkAsReference(Node* node); |
| 130 | 130 |
| 131 // Inform the register allocation of the representation of the value produced | 131 // Inform the register allocation of the representation of the value produced |
| 132 // by {node}. | 132 // by {node}. |
| 133 void MarkAsRepresentation(MachineRepresentation 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, BasicBlock* cont_node, |
| 143 BasicBlock* deopt_node); | 143 BasicBlock* deopt_node); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 Instructions instructions_; | 203 Instructions instructions_; |
| 204 BoolVector defined_; | 204 BoolVector defined_; |
| 205 BoolVector used_; | 205 BoolVector used_; |
| 206 }; | 206 }; |
| 207 | 207 |
| 208 } // namespace compiler | 208 } // namespace compiler |
| 209 } // namespace internal | 209 } // namespace internal |
| 210 } // namespace v8 | 210 } // namespace v8 |
| 211 | 211 |
| 212 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 212 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
| OLD | NEW |