Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/crankshaft/typing.h

Issue 2312683002: Include only stuff you need, part 7: Fix scopes.h -> ast.h. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compilation-info.cc ('k') | src/parsing/parser-base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CRANKSHAFT_TYPING_H_ 5 #ifndef V8_CRANKSHAFT_TYPING_H_
6 #define V8_CRANKSHAFT_TYPING_H_ 6 #define V8_CRANKSHAFT_TYPING_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast/ast-type-bounds.h" 9 #include "src/ast/ast-type-bounds.h"
10 #include "src/ast/ast-types.h" 10 #include "src/ast/ast-types.h"
11 #include "src/ast/scopes.h" 11 #include "src/ast/ast.h"
12 #include "src/ast/variables.h" 12 #include "src/ast/variables.h"
13 #include "src/effects.h" 13 #include "src/effects.h"
14 #include "src/type-info.h" 14 #include "src/type-info.h"
15 #include "src/zone.h" 15 #include "src/zone.h"
16 16
17 namespace v8 { 17 namespace v8 {
18 namespace internal { 18 namespace internal {
19 19
20 class DeclarationScope;
21 class Isolate;
20 class FunctionLiteral; 22 class FunctionLiteral;
21 23
22 class AstTyper final : public AstVisitor<AstTyper> { 24 class AstTyper final : public AstVisitor<AstTyper> {
23 public: 25 public:
24 AstTyper(Isolate* isolate, Zone* zone, Handle<JSFunction> closure, 26 AstTyper(Isolate* isolate, Zone* zone, Handle<JSFunction> closure,
25 DeclarationScope* scope, BailoutId osr_ast_id, FunctionLiteral* root, 27 DeclarationScope* scope, BailoutId osr_ast_id, FunctionLiteral* root,
26 AstTypeBounds* bounds); 28 AstTypeBounds* bounds);
27 void Run(); 29 void Run();
28 30
29 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); 31 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 AST_NODE_LIST(DECLARE_VISIT) 82 AST_NODE_LIST(DECLARE_VISIT)
81 #undef DECLARE_VISIT 83 #undef DECLARE_VISIT
82 84
83 DISALLOW_COPY_AND_ASSIGN(AstTyper); 85 DISALLOW_COPY_AND_ASSIGN(AstTyper);
84 }; 86 };
85 87
86 } // namespace internal 88 } // namespace internal
87 } // namespace v8 89 } // namespace v8
88 90
89 #endif // V8_CRANKSHAFT_TYPING_H_ 91 #endif // V8_CRANKSHAFT_TYPING_H_
OLDNEW
« no previous file with comments | « src/compilation-info.cc ('k') | src/parsing/parser-base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698