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_JS_GRAPH_H_ | 5 #ifndef V8_COMPILER_JS_GRAPH_H_ |
6 #define V8_COMPILER_JS_GRAPH_H_ | 6 #define V8_COMPILER_JS_GRAPH_H_ |
7 | 7 |
8 #include "src/compiler/common-node-cache.h" | 8 #include "src/compiler/common-node-cache.h" |
9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 SetOncePointer<Node> false_constant_; | 92 SetOncePointer<Node> false_constant_; |
93 SetOncePointer<Node> null_constant_; | 93 SetOncePointer<Node> null_constant_; |
94 SetOncePointer<Node> zero_constant_; | 94 SetOncePointer<Node> zero_constant_; |
95 SetOncePointer<Node> one_constant_; | 95 SetOncePointer<Node> one_constant_; |
96 SetOncePointer<Node> nan_constant_; | 96 SetOncePointer<Node> nan_constant_; |
97 | 97 |
98 CommonNodeCache cache_; | 98 CommonNodeCache cache_; |
99 | 99 |
100 Node* ImmovableHeapConstant(Handle<Object> value); | 100 Node* ImmovableHeapConstant(Handle<Object> value); |
101 Node* NumberConstant(double value); | 101 Node* NumberConstant(double value); |
102 Node* NewNode(Operator* op); | 102 Node* NewNode(const Operator* op); |
103 | 103 |
104 Factory* factory() { return isolate()->factory(); } | 104 Factory* factory() { return isolate()->factory(); } |
105 }; | 105 }; |
106 } // namespace compiler | 106 } // namespace compiler |
107 } // namespace internal | 107 } // namespace internal |
108 } // namespace v8 | 108 } // namespace v8 |
109 | 109 |
110 #endif | 110 #endif |
OLD | NEW |