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

Side by Side Diff: src/compiler/ast-graph-builder.h

Issue 2457393003: Thread decls-list through Declaration (Closed)
Patch Set: rebase Created 4 years, 1 month 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/ast/scopes.cc ('k') | src/compiler/ast-graph-builder.cc » ('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 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_AST_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 #include "src/compiler/liveness-analyzer.h" 10 #include "src/compiler/liveness-analyzer.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 return NewNode(common()->Branch(hint), condition); 54 return NewNode(common()->Branch(hint), condition);
55 } 55 }
56 56
57 protected: 57 protected:
58 #define DECLARE_VISIT(type) virtual void Visit##type(type* node); 58 #define DECLARE_VISIT(type) virtual void Visit##type(type* node);
59 // Visiting functions for AST nodes make this an AstVisitor. 59 // Visiting functions for AST nodes make this an AstVisitor.
60 AST_NODE_LIST(DECLARE_VISIT) 60 AST_NODE_LIST(DECLARE_VISIT)
61 #undef DECLARE_VISIT 61 #undef DECLARE_VISIT
62 62
63 // Visiting function for declarations list is overridden. 63 // Visiting function for declarations list is overridden.
64 void VisitDeclarations(ZoneList<Declaration*>* declarations); 64 void VisitDeclarations(Declaration::List* declarations);
65 65
66 private: 66 private:
67 class AstContext; 67 class AstContext;
68 class AstEffectContext; 68 class AstEffectContext;
69 class AstValueContext; 69 class AstValueContext;
70 class AstTestContext; 70 class AstTestContext;
71 class ContextScope; 71 class ContextScope;
72 class ControlScope; 72 class ControlScope;
73 class ControlScopeForBreakable; 73 class ControlScopeForBreakable;
74 class ControlScopeForIteration; 74 class ControlScopeForIteration;
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 // Prepare environment to be used as loop header. 615 // Prepare environment to be used as loop header.
616 void PrepareForLoop(BitVector* assigned); 616 void PrepareForLoop(BitVector* assigned);
617 void PrepareForOsrEntry(); 617 void PrepareForOsrEntry();
618 }; 618 };
619 619
620 } // namespace compiler 620 } // namespace compiler
621 } // namespace internal 621 } // namespace internal
622 } // namespace v8 622 } // namespace v8
623 623
624 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 624 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/ast/scopes.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698