| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index d25051bf80c729487b17e280d40ebc5716aa4bc5..1367ce1acec26324430746d1485359b36cf41bb0 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -284,6 +284,11 @@ 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);
|
|
|
| Statement* DeclareFunction(const AstRawString* variable_name,
|
| FunctionLiteral* function, int pos,
|
| @@ -374,8 +379,6 @@ class Parser : public ParserBase<Parser> {
|
| };
|
|
|
| Statement* ParseForStatement(ZoneList<const AstRawString*>* labels, bool* ok);
|
| - Expression* MakeCatchContext(Handle<String> id, VariableProxy* value);
|
| - TryStatement* ParseTryStatement(bool* ok);
|
|
|
| // !%_IsJSReceiver(result = iterator.next()) &&
|
| // %ThrowIteratorResultNotAnObject(result)
|
|
|