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_TYPER_H_ | 5 #ifndef V8_COMPILER_TYPER_H_ |
6 #define V8_COMPILER_TYPER_H_ | 6 #define V8_COMPILER_TYPER_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 void Run(); | 25 void Run(); |
26 | 26 |
27 Graph* graph() { return graph_; } | 27 Graph* graph() { return graph_; } |
28 MaybeHandle<Context> context() { return context_; } | 28 MaybeHandle<Context> context() { return context_; } |
29 Zone* zone() { return graph_->zone(); } | 29 Zone* zone() { return graph_->zone(); } |
30 Isolate* isolate() { return zone()->isolate(); } | 30 Isolate* isolate() { return zone()->isolate(); } |
31 | 31 |
32 private: | 32 private: |
33 class Visitor; | 33 class Visitor; |
| 34 class RunVisitor; |
| 35 class WidenVisitor; |
34 class Decorator; | 36 class Decorator; |
35 | 37 |
36 Graph* graph_; | 38 Graph* graph_; |
37 MaybeHandle<Context> context_; | 39 MaybeHandle<Context> context_; |
38 Decorator* decorator_; | 40 Decorator* decorator_; |
39 | 41 |
40 Zone* zone_; | 42 Zone* zone_; |
41 Type* negative_signed32; | 43 Type* negative_signed32; |
42 Type* non_negative_signed32; | 44 Type* non_negative_signed32; |
43 Type* undefined_or_null; | 45 Type* undefined_or_null; |
(...skipping 22 matching lines...) Expand all Loading... |
66 ZoneVector<Handle<Object> > weaken_min_limits_; | 68 ZoneVector<Handle<Object> > weaken_min_limits_; |
67 ZoneVector<Handle<Object> > weaken_max_limits_; | 69 ZoneVector<Handle<Object> > weaken_max_limits_; |
68 DISALLOW_COPY_AND_ASSIGN(Typer); | 70 DISALLOW_COPY_AND_ASSIGN(Typer); |
69 }; | 71 }; |
70 | 72 |
71 } // namespace compiler | 73 } // namespace compiler |
72 } // namespace internal | 74 } // namespace internal |
73 } // namespace v8 | 75 } // namespace v8 |
74 | 76 |
75 #endif // V8_COMPILER_TYPER_H_ | 77 #endif // V8_COMPILER_TYPER_H_ |
OLD | NEW |