OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_EFFECT_CONTROL_LINEARIZER_H_ | 5 #ifndef V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ |
6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ | 6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ |
7 | 7 |
8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
9 #include "src/compiler/node.h" | 9 #include "src/compiler/node.h" |
10 #include "src/compiler/simplified-operator.h" | 10 #include "src/compiler/simplified-operator.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 struct ValueEffectControl { | 35 struct ValueEffectControl { |
36 Node* value; | 36 Node* value; |
37 Node* effect; | 37 Node* effect; |
38 Node* control; | 38 Node* control; |
39 ValueEffectControl(Node* value, Node* effect, Node* control) | 39 ValueEffectControl(Node* value, Node* effect, Node* control) |
40 : value(value), effect(effect), control(control) {} | 40 : value(value), effect(effect), control(control) {} |
41 }; | 41 }; |
42 | 42 |
43 bool TryWireInStateEffect(Node* node, Node** effect, Node** control); | 43 bool TryWireInStateEffect(Node* node, Node** effect, Node** control); |
| 44 ValueEffectControl LowerGuard(Node* node, Node* effect, Node* control); |
44 ValueEffectControl LowerChangeBitToTagged(Node* node, Node* effect, | 45 ValueEffectControl LowerChangeBitToTagged(Node* node, Node* effect, |
45 Node* control); | 46 Node* control); |
46 ValueEffectControl LowerChangeInt31ToTaggedSigned(Node* node, Node* effect, | 47 ValueEffectControl LowerChangeInt31ToTaggedSigned(Node* node, Node* effect, |
47 Node* control); | 48 Node* control); |
48 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect, | 49 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect, |
49 Node* control); | 50 Node* control); |
50 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect, | 51 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect, |
51 Node* control); | 52 Node* control); |
52 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, | 53 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, |
53 Node* control); | 54 Node* control); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 JSGraph* js_graph_; | 99 JSGraph* js_graph_; |
99 Schedule* schedule_; | 100 Schedule* schedule_; |
100 Zone* temp_zone_; | 101 Zone* temp_zone_; |
101 }; | 102 }; |
102 | 103 |
103 } // namespace compiler | 104 } // namespace compiler |
104 } // namespace internal | 105 } // namespace internal |
105 } // namespace v8 | 106 } // namespace v8 |
106 | 107 |
107 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ | 108 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ |
OLD | NEW |