| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index e461a99d84cfdcd6a13a4a9c2d81ab5fa1647581..2957a190c251818715e0ecfc8612367868fcb60b 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -376,21 +376,6 @@ class ParserTraits {
|
|
|
| explicit ParserTraits(Parser* parser) : parser_(parser) {}
|
|
|
| - // Custom operations executed when FunctionStates are created and destructed.
|
| - template <typename FunctionState>
|
| - static void SetUpFunctionState(FunctionState* function_state) {
|
| - function_state->saved_id_gen_ = *function_state->ast_node_id_gen_;
|
| - *function_state->ast_node_id_gen_ =
|
| - AstNode::IdGen(BailoutId::FirstUsable().ToInt());
|
| - }
|
| -
|
| - template <typename FunctionState>
|
| - static void TearDownFunctionState(FunctionState* function_state) {
|
| - if (function_state->outer_function_state_ != NULL) {
|
| - *function_state->ast_node_id_gen_ = function_state->saved_id_gen_;
|
| - }
|
| - }
|
| -
|
| // Helper functions for recursive descent.
|
| bool IsEvalOrArguments(const AstRawString* identifier) const;
|
| V8_INLINE bool IsFutureStrictReserved(const AstRawString* identifier) const;
|
|
|