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" |
11 #include "src/compiler/js-operator.h" | 11 #include "src/compiler/js-operator.h" |
12 #include "src/compiler/machine-operator.h" | 12 #include "src/compiler/machine-operator.h" |
13 #include "src/compiler/node-properties.h" | 13 #include "src/compiler/node-properties.h" |
| 14 #include "src/isolate.h" |
14 | 15 |
15 namespace v8 { | 16 namespace v8 { |
16 namespace internal { | 17 namespace internal { |
17 namespace compiler { | 18 namespace compiler { |
18 | 19 |
19 class Typer; | 20 class Typer; |
20 | 21 |
21 // Implements a facade on a Graph, enhancing the graph with JS-specific | 22 // Implements a facade on a Graph, enhancing the graph with JS-specific |
22 // notions, including a builder for for JS* operators, canonicalized global | 23 // notions, including a builder for for JS* operators, canonicalized global |
23 // constants, and various helper methods. | 24 // constants, and various helper methods. |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 Node* NumberConstant(double value); | 155 Node* NumberConstant(double value); |
155 | 156 |
156 DISALLOW_COPY_AND_ASSIGN(JSGraph); | 157 DISALLOW_COPY_AND_ASSIGN(JSGraph); |
157 }; | 158 }; |
158 | 159 |
159 } // namespace compiler | 160 } // namespace compiler |
160 } // namespace internal | 161 } // namespace internal |
161 } // namespace v8 | 162 } // namespace v8 |
162 | 163 |
163 #endif | 164 #endif |
OLD | NEW |