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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 void VisitFinishRegion(Node* node); | 327 void VisitFinishRegion(Node* node); |
328 void VisitParameter(Node* node); | 328 void VisitParameter(Node* node); |
329 void VisitIfException(Node* node); | 329 void VisitIfException(Node* node); |
330 void VisitOsrValue(Node* node); | 330 void VisitOsrValue(Node* node); |
331 void VisitPhi(Node* node); | 331 void VisitPhi(Node* node); |
332 void VisitProjection(Node* node); | 332 void VisitProjection(Node* node); |
333 void VisitConstant(Node* node); | 333 void VisitConstant(Node* node); |
334 void VisitCall(Node* call, BasicBlock* handler = nullptr); | 334 void VisitCall(Node* call, BasicBlock* handler = nullptr); |
335 void VisitDeoptimizeIf(Node* node); | 335 void VisitDeoptimizeIf(Node* node); |
336 void VisitDeoptimizeUnless(Node* node); | 336 void VisitDeoptimizeUnless(Node* node); |
337 void VisitTrapIf(Node* node); | 337 void VisitTrapIf(Node* node, Runtime::FunctionId func_id); |
338 void VisitTrapUnless(Node* node); | 338 void VisitTrapUnless(Node* node, Runtime::FunctionId func_id); |
339 void VisitTailCall(Node* call); | 339 void VisitTailCall(Node* call); |
340 void VisitGoto(BasicBlock* target); | 340 void VisitGoto(BasicBlock* target); |
341 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); | 341 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); |
342 void VisitSwitch(Node* node, const SwitchInfo& sw); | 342 void VisitSwitch(Node* node, const SwitchInfo& sw); |
343 void VisitDeoptimize(DeoptimizeKind kind, DeoptimizeReason reason, | 343 void VisitDeoptimize(DeoptimizeKind kind, DeoptimizeReason reason, |
344 Node* value); | 344 Node* value); |
345 void VisitReturn(Node* ret); | 345 void VisitReturn(Node* ret); |
346 void VisitThrow(Node* value); | 346 void VisitThrow(Node* value); |
347 void VisitRetain(Node* node); | 347 void VisitRetain(Node* node); |
348 | 348 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 EnableSerialization enable_serialization_; | 389 EnableSerialization enable_serialization_; |
390 Frame* frame_; | 390 Frame* frame_; |
391 bool instruction_selection_failed_; | 391 bool instruction_selection_failed_; |
392 }; | 392 }; |
393 | 393 |
394 } // namespace compiler | 394 } // namespace compiler |
395 } // namespace internal | 395 } // namespace internal |
396 } // namespace v8 | 396 } // namespace v8 |
397 | 397 |
398 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ | 398 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ |
OLD | NEW |