Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 1ff58572f3f266f9f0b1c17901ca680da33c9152..f865074c7911f82fb1e8ecba3b60f88a921c47f1 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -955,10 +955,6 @@ class Parser : public ParserBase<ParserTraits> { |
bool produce_cached_parse_data() const { |
return compile_options_ == ScriptCompiler::kProduceParserCache; |
} |
- Scope* DeclarationScope(VariableMode mode) { |
- return IsLexicalVariableMode(mode) |
- ? scope_ : scope_->DeclarationScope(); |
- } |
// All ParseXXX functions take as the last argument an *ok parameter |
// which is set to false if parsing failed; it is unchanged otherwise. |
@@ -995,11 +991,9 @@ class Parser : public ParserBase<ParserTraits> { |
struct DeclarationDescriptor { |
enum Kind { NORMAL, PARAMETER }; |
Parser* parser; |
- Scope* declaration_scope; |
Scope* scope; |
Scope* hoist_scope; |
VariableMode mode; |
- bool is_const; |
bool needs_init; |
int declaration_pos; |
int initialization_pos; |