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 #include "src/typing.h" | 5 #include "src/typing.h" |
6 | 6 |
7 #include "src/frames.h" | 7 #include "src/frames.h" |
8 #include "src/frames-inl.h" | 8 #include "src/frames-inl.h" |
| 9 #include "src/ostreams.h" |
9 #include "src/parser.h" // for CompileTimeValue; TODO(rossberg): should move | 10 #include "src/parser.h" // for CompileTimeValue; TODO(rossberg): should move |
10 #include "src/scopes.h" | 11 #include "src/scopes.h" |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 | 15 |
15 | 16 |
16 AstTyper::AstTyper(CompilationInfo* info) | 17 AstTyper::AstTyper(CompilationInfo* info) |
17 : info_(info), | 18 : info_(info), |
18 oracle_( | 19 oracle_( |
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 void AstTyper::VisitModuleUrl(ModuleUrl* module) { | 771 void AstTyper::VisitModuleUrl(ModuleUrl* module) { |
771 } | 772 } |
772 | 773 |
773 | 774 |
774 void AstTyper::VisitModuleStatement(ModuleStatement* stmt) { | 775 void AstTyper::VisitModuleStatement(ModuleStatement* stmt) { |
775 RECURSE(Visit(stmt->body())); | 776 RECURSE(Visit(stmt->body())); |
776 } | 777 } |
777 | 778 |
778 | 779 |
779 } } // namespace v8::internal | 780 } } // namespace v8::internal |
OLD | NEW |