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; | |
36 class Decorator; | 34 class Decorator; |
37 | 35 |
38 Graph* graph_; | 36 Graph* graph_; |
39 MaybeHandle<Context> context_; | 37 MaybeHandle<Context> context_; |
40 Decorator* decorator_; | 38 Decorator* decorator_; |
41 | 39 |
42 Zone* zone_; | 40 Zone* zone_; |
43 Type* negative_signed32; | 41 Type* negative_signed32; |
44 Type* non_negative_signed32; | 42 Type* non_negative_signed32; |
45 Type* undefined_or_null; | 43 Type* undefined_or_null; |
(...skipping 22 matching lines...) Expand all Loading... |
68 ZoneVector<Handle<Object> > weaken_min_limits_; | 66 ZoneVector<Handle<Object> > weaken_min_limits_; |
69 ZoneVector<Handle<Object> > weaken_max_limits_; | 67 ZoneVector<Handle<Object> > weaken_max_limits_; |
70 DISALLOW_COPY_AND_ASSIGN(Typer); | 68 DISALLOW_COPY_AND_ASSIGN(Typer); |
71 }; | 69 }; |
72 | 70 |
73 } // namespace compiler | 71 } // namespace compiler |
74 } // namespace internal | 72 } // namespace internal |
75 } // namespace v8 | 73 } // namespace v8 |
76 | 74 |
77 #endif // V8_COMPILER_TYPER_H_ | 75 #endif // V8_COMPILER_TYPER_H_ |
OLD | NEW |