| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 Node* control); | 70 Node* control); |
| 71 ValueEffectControl LowerObjectIsNumber(Node* node, Node* effect, | 71 ValueEffectControl LowerObjectIsNumber(Node* node, Node* effect, |
| 72 Node* control); | 72 Node* control); |
| 73 ValueEffectControl LowerObjectIsReceiver(Node* node, Node* effect, | 73 ValueEffectControl LowerObjectIsReceiver(Node* node, Node* effect, |
| 74 Node* control); | 74 Node* control); |
| 75 ValueEffectControl LowerObjectIsSmi(Node* node, Node* effect, Node* control); | 75 ValueEffectControl LowerObjectIsSmi(Node* node, Node* effect, Node* control); |
| 76 ValueEffectControl LowerObjectIsString(Node* node, Node* effect, | 76 ValueEffectControl LowerObjectIsString(Node* node, Node* effect, |
| 77 Node* control); | 77 Node* control); |
| 78 ValueEffectControl LowerObjectIsUndetectable(Node* node, Node* effect, | 78 ValueEffectControl LowerObjectIsUndetectable(Node* node, Node* effect, |
| 79 Node* control); | 79 Node* control); |
| 80 ValueEffectControl LowerStringFromCharCode(Node* node, Node* effect, |
| 81 Node* control); |
| 80 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, | 82 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, |
| 81 Node* control); | 83 Node* control); |
| 82 | 84 |
| 83 Node* ChangeInt32ToSmi(Node* value); | 85 Node* ChangeInt32ToSmi(Node* value); |
| 84 Node* ChangeUint32ToSmi(Node* value); | 86 Node* ChangeUint32ToSmi(Node* value); |
| 85 Node* ChangeInt32ToFloat64(Node* value); | 87 Node* ChangeInt32ToFloat64(Node* value); |
| 86 Node* ChangeUint32ToFloat64(Node* value); | 88 Node* ChangeUint32ToFloat64(Node* value); |
| 87 Node* ChangeSmiToInt32(Node* value); | 89 Node* ChangeSmiToInt32(Node* value); |
| 88 Node* ObjectIsSmi(Node* value); | 90 Node* ObjectIsSmi(Node* value); |
| 89 | 91 |
| 90 Node* SmiMaxValueConstant(); | 92 Node* SmiMaxValueConstant(); |
| 91 Node* SmiShiftBitsConstant(); | 93 Node* SmiShiftBitsConstant(); |
| 92 | 94 |
| 95 Factory* factory() const; |
| 96 Isolate* isolate() const; |
| 93 JSGraph* jsgraph() const { return js_graph_; } | 97 JSGraph* jsgraph() const { return js_graph_; } |
| 94 Graph* graph() const; | 98 Graph* graph() const; |
| 95 Schedule* schedule() const { return schedule_; } | 99 Schedule* schedule() const { return schedule_; } |
| 96 Zone* temp_zone() const { return temp_zone_; } | 100 Zone* temp_zone() const { return temp_zone_; } |
| 97 CommonOperatorBuilder* common() const; | 101 CommonOperatorBuilder* common() const; |
| 98 SimplifiedOperatorBuilder* simplified() const; | 102 SimplifiedOperatorBuilder* simplified() const; |
| 99 MachineOperatorBuilder* machine() const; | 103 MachineOperatorBuilder* machine() const; |
| 100 | 104 |
| 101 JSGraph* js_graph_; | 105 JSGraph* js_graph_; |
| 102 Schedule* schedule_; | 106 Schedule* schedule_; |
| 103 Zone* temp_zone_; | 107 Zone* temp_zone_; |
| 104 }; | 108 }; |
| 105 | 109 |
| 106 } // namespace compiler | 110 } // namespace compiler |
| 107 } // namespace internal | 111 } // namespace internal |
| 108 } // namespace v8 | 112 } // namespace v8 |
| 109 | 113 |
| 110 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ | 114 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ |
| OLD | NEW |