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

Side by Side Diff: src/ast/prettyprinter.h

Issue 2146493002: Move catch prediction into frontend. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Disable test on Turbofan Created 4 years, 5 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/ast/ast-numbering.cc ('k') | src/ast/prettyprinter.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_AST_PRETTYPRINTER_H_ 5 #ifndef V8_AST_PRETTYPRINTER_H_
6 #define V8_AST_PRETTYPRINTER_H_ 6 #define V8_AST_PRETTYPRINTER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/base/compiler-specific.h" 10 #include "src/base/compiler-specific.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void PrintDeclarations(ZoneList<Declaration*>* declarations); 124 void PrintDeclarations(ZoneList<Declaration*>* declarations);
125 void PrintParameters(Scope* scope); 125 void PrintParameters(Scope* scope);
126 void PrintArguments(ZoneList<Expression*>* arguments); 126 void PrintArguments(ZoneList<Expression*>* arguments);
127 void PrintCaseClause(CaseClause* clause); 127 void PrintCaseClause(CaseClause* clause);
128 void PrintLiteralIndented(const char* info, Handle<Object> value, bool quote); 128 void PrintLiteralIndented(const char* info, Handle<Object> value, bool quote);
129 void PrintLiteralWithModeIndented(const char* info, 129 void PrintLiteralWithModeIndented(const char* info,
130 Variable* var, 130 Variable* var,
131 Handle<Object> value); 131 Handle<Object> value);
132 void PrintLabelsIndented(ZoneList<const AstRawString*>* labels); 132 void PrintLabelsIndented(ZoneList<const AstRawString*>* labels);
133 void PrintProperties(ZoneList<ObjectLiteral::Property*>* properties); 133 void PrintProperties(ZoneList<ObjectLiteral::Property*>* properties);
134 void PrintTryStatement(TryStatement* try_statement);
134 135
135 void inc_indent() { indent_++; } 136 void inc_indent() { indent_++; }
136 void dec_indent() { indent_--; } 137 void dec_indent() { indent_--; }
137 138
138 int indent_; 139 int indent_;
139 }; 140 };
140 141
141 #endif // DEBUG 142 #endif // DEBUG
142 143
143 } // namespace internal 144 } // namespace internal
144 } // namespace v8 145 } // namespace v8
145 146
146 #endif // V8_AST_PRETTYPRINTER_H_ 147 #endif // V8_AST_PRETTYPRINTER_H_
OLDNEW
« no previous file with comments | « src/ast/ast-numbering.cc ('k') | src/ast/prettyprinter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698