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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); | 192 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); |
193 MACHINE_OP_LIST(DECLARE_GENERATOR) | 193 MACHINE_OP_LIST(DECLARE_GENERATOR) |
194 #undef DECLARE_GENERATOR | 194 #undef DECLARE_GENERATOR |
195 | 195 |
196 void VisitFinish(Node* node); | 196 void VisitFinish(Node* node); |
197 void VisitParameter(Node* node); | 197 void VisitParameter(Node* node); |
198 void VisitOsrValue(Node* node); | 198 void VisitOsrValue(Node* node); |
199 void VisitPhi(Node* node); | 199 void VisitPhi(Node* node); |
200 void VisitProjection(Node* node); | 200 void VisitProjection(Node* node); |
201 void VisitConstant(Node* node); | 201 void VisitConstant(Node* node); |
202 void VisitCall(Node* call); | 202 void VisitCall(Node* call, BasicBlock* handler); |
203 void VisitGoto(BasicBlock* target); | 203 void VisitGoto(BasicBlock* target); |
204 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 204 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
205 void VisitSwitch(Node* node, BasicBlock* default_branch, | 205 void VisitSwitch(Node* node, BasicBlock* default_branch, |
206 BasicBlock** case_branches, int32_t* case_values, | 206 BasicBlock** case_branches, int32_t* case_values, |
207 size_t case_count, int32_t min_value, int32_t max_value); | 207 size_t case_count, int32_t min_value, int32_t max_value); |
208 void VisitReturn(Node* value); | 208 void VisitReturn(Node* value); |
209 void VisitThrow(Node* value); | 209 void VisitThrow(Node* value); |
210 void VisitDeoptimize(Node* deopt); | 210 void VisitDeoptimize(Node* deopt); |
211 | 211 |
212 // =========================================================================== | 212 // =========================================================================== |
(...skipping 17 matching lines...) Expand all Loading... |
230 BoolVector defined_; | 230 BoolVector defined_; |
231 BoolVector used_; | 231 BoolVector used_; |
232 IntVector virtual_registers_; | 232 IntVector virtual_registers_; |
233 }; | 233 }; |
234 | 234 |
235 } // namespace compiler | 235 } // namespace compiler |
236 } // namespace internal | 236 } // namespace internal |
237 } // namespace v8 | 237 } // namespace v8 |
238 | 238 |
239 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 239 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |