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/crankshaft/typing.h" | 5 #include "src/crankshaft/typing.h" |
6 | 6 |
| 7 #include "src/ast/compile-time-value.h" |
7 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
| 9 #include "src/frames-inl.h" |
8 #include "src/frames.h" | 10 #include "src/frames.h" |
9 #include "src/frames-inl.h" | |
10 #include "src/ostreams.h" | 11 #include "src/ostreams.h" |
11 #include "src/parsing/parser.h" // for CompileTimeValue; TODO(rossberg): move | |
12 #include "src/splay-tree-inl.h" | 12 #include "src/splay-tree-inl.h" |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 AstTyper::AstTyper(Isolate* isolate, Zone* zone, Handle<JSFunction> closure, | 17 AstTyper::AstTyper(Isolate* isolate, Zone* zone, Handle<JSFunction> closure, |
18 DeclarationScope* scope, BailoutId osr_ast_id, | 18 DeclarationScope* scope, BailoutId osr_ast_id, |
19 FunctionLiteral* root, AstTypeBounds* bounds) | 19 FunctionLiteral* root, AstTypeBounds* bounds) |
20 : isolate_(isolate), | 20 : isolate_(isolate), |
21 zone_(zone), | 21 zone_(zone), |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 } | 781 } |
782 | 782 |
783 | 783 |
784 void AstTyper::VisitFunctionDeclaration(FunctionDeclaration* declaration) { | 784 void AstTyper::VisitFunctionDeclaration(FunctionDeclaration* declaration) { |
785 RECURSE(Visit(declaration->fun())); | 785 RECURSE(Visit(declaration->fun())); |
786 } | 786 } |
787 | 787 |
788 | 788 |
789 } // namespace internal | 789 } // namespace internal |
790 } // namespace v8 | 790 } // namespace v8 |
OLD | NEW |