| 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 LowerTypeGuard(Node* node, Node* effect, Node* control); |
| 45 ValueEffectControl LowerChangeBitToTagged(Node* node, Node* effect, | 45 ValueEffectControl LowerChangeBitToTagged(Node* node, Node* effect, |
| 46 Node* control); | 46 Node* control); |
| 47 ValueEffectControl LowerChangeInt31ToTaggedSigned(Node* node, Node* effect, | 47 ValueEffectControl LowerChangeInt31ToTaggedSigned(Node* node, Node* effect, |
| 48 Node* control); | 48 Node* control); |
| 49 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect, | 49 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect, |
| 50 Node* control); | 50 Node* control); |
| 51 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect, | 51 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect, |
| 52 Node* control); | 52 Node* control); |
| 53 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, | 53 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, |
| 54 Node* control); | 54 Node* control); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 JSGraph* js_graph_; | 99 JSGraph* js_graph_; |
| 100 Schedule* schedule_; | 100 Schedule* schedule_; |
| 101 Zone* temp_zone_; | 101 Zone* temp_zone_; |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 } // namespace compiler | 104 } // namespace compiler |
| 105 } // namespace internal | 105 } // namespace internal |
| 106 } // namespace v8 | 106 } // namespace v8 |
| 107 | 107 |
| 108 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ | 108 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ |
| OLD | NEW |