Chromium Code Reviews| Index: src/parsing/parser.h |
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
| index d25051bf80c729487b17e280d40ebc5716aa4bc5..f61b7e20e9cd80c9501f8464be5a8cef34b6e276 100644 |
| --- a/src/parsing/parser.h |
| +++ b/src/parsing/parser.h |
| @@ -284,6 +284,12 @@ class Parser : public ParserBase<Parser> { |
| Statement* RewriteSwitchStatement(Expression* tag, |
| SwitchStatement* switch_statement, |
| ZoneList<CaseClause*>* cases, Scope* scope); |
| + void RewriteCatchPattern(CatchInfo* catch_info, bool* ok); |
| + void ValidateCatchBlock(const CatchInfo& catch_info, bool* ok); |
| + Statement* RewriteTryStatement(Block* try_block, Block* catch_block, |
| + Block* finally_block, |
| + const CatchInfo& catch_info, int pos, |
| + bool* ok); |
| Statement* DeclareFunction(const AstRawString* variable_name, |
| FunctionLiteral* function, int pos, |
| @@ -375,7 +381,6 @@ class Parser : public ParserBase<Parser> { |
| Statement* ParseForStatement(ZoneList<const AstRawString*>* labels, bool* ok); |
| Expression* MakeCatchContext(Handle<String> id, VariableProxy* value); |
|
nickie
2016/09/14 08:14:04
Also, this declaration is redundant (there's no de
|
| - TryStatement* ParseTryStatement(bool* ok); |
| // !%_IsJSReceiver(result = iterator.next()) && |
| // %ThrowIteratorResultNotAnObject(result) |