OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_TYPING_H_ | 5 #ifndef V8_TYPING_H_ |
6 #define V8_TYPING_H_ | 6 #define V8_TYPING_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
11 #include "src/ast.h" | 11 #include "src/ast.h" |
12 #include "src/compiler.h" | 12 #include "src/compiler.h" |
| 13 #include "src/effects.h" |
| 14 #include "src/scopes.h" |
13 #include "src/type-info.h" | 15 #include "src/type-info.h" |
14 #include "src/types.h" | 16 #include "src/types.h" |
15 #include "src/effects.h" | |
16 #include "src/zone.h" | 17 #include "src/zone.h" |
17 #include "src/scopes.h" | |
18 | 18 |
19 namespace v8 { | 19 namespace v8 { |
20 namespace internal { | 20 namespace internal { |
21 | 21 |
22 | 22 |
23 class AstTyper: public AstVisitor { | 23 class AstTyper: public AstVisitor { |
24 public: | 24 public: |
25 static void Run(CompilationInfo* info); | 25 static void Run(CompilationInfo* info); |
26 | 26 |
27 void* operator new(size_t size, Zone* zone) { | 27 void* operator new(size_t size, Zone* zone) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 #define DECLARE_VISIT(type) virtual void Visit##type(type* node); | 78 #define DECLARE_VISIT(type) virtual void Visit##type(type* node); |
79 AST_NODE_LIST(DECLARE_VISIT) | 79 AST_NODE_LIST(DECLARE_VISIT) |
80 #undef DECLARE_VISIT | 80 #undef DECLARE_VISIT |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(AstTyper); | 82 DISALLOW_COPY_AND_ASSIGN(AstTyper); |
83 }; | 83 }; |
84 | 84 |
85 } } // namespace v8::internal | 85 } } // namespace v8::internal |
86 | 86 |
87 #endif // V8_TYPING_H_ | 87 #endif // V8_TYPING_H_ |
OLD | NEW |