Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 9c2b05673a27d70450b04381d78da7d5fed3f215..ac36e1bfaf8e74f4ddc5a4ad80dd91b9bb8684eb 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -358,11 +358,6 @@ class ParserTraits { |
// it needs. |
typedef v8::internal::Parser* Parser; |
- // Used by FunctionState and BlockState. |
- typedef v8::internal::Scope Scope; |
- typedef v8::internal::Scope* ScopePtr; |
- inline static Scope* ptr_to_scope(ScopePtr scope) { return scope; } |
- |
typedef Variable GeneratorVariable; |
typedef v8::internal::AstProperties AstProperties; |
@@ -846,10 +841,6 @@ class Parser : public ParserBase<ParserTraits> { |
IterationStatement* LookupContinueTarget(const AstRawString* label, bool* ok); |
// Factory methods. |
- |
- Scope* NewScope(Scope* parent, ScopeType type, |
- FunctionKind kind = kNormalFunction); |
- |
FunctionLiteral* DefaultConstructor(bool call_super, Scope* scope, int pos, |
int end_pos); |