Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index ddb542de35cb5492d9afdf350bd504b772475bbb..9a56260090457e7ae889627a0516f11c3da3d8a0 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -364,7 +364,6 @@ class ParserTraits { |
inline static Scope* ptr_to_scope(ScopePtr scope) { return scope; } |
typedef Variable GeneratorVariable; |
- typedef v8::internal::Zone Zone; |
typedef v8::internal::AstProperties AstProperties; |
typedef Vector<VariableProxy*> ParameterIdentifierVector; |
@@ -569,7 +568,6 @@ class ParserTraits { |
int DeclareArrowParametersFromExpression(Expression* expression, Scope* scope, |
Scanner::Location* dupe_loc, |
bool* ok); |
- V8_INLINE AstValueFactory* ast_value_factory(); |
// Temporary glue; these functions will move to ParserBase. |
Expression* ParseV8Intrinsic(bool* ok); |
@@ -716,9 +714,6 @@ class Parser : public ParserBase<ParserTraits> { |
Isolate* isolate() { return info_->isolate(); } |
CompilationInfo* info() const { return info_; } |
Handle<Script> script() const { return info_->script(); } |
- AstValueFactory* ast_value_factory() const { |
- return info_->ast_value_factory(); |
- } |
// Called by ParseProgram after setting up the scanner. |
FunctionLiteral* DoParseProgram(CompilationInfo* info, Scope** scope, |
@@ -947,11 +942,6 @@ void ParserTraits::CheckConflictingVarDeclarations(v8::internal::Scope* scope, |
} |
-AstValueFactory* ParserTraits::ast_value_factory() { |
- return parser_->ast_value_factory(); |
-} |
- |
- |
// Support for handling complex values (array and object literals) that |
// can be fully handled at compile time. |
class CompileTimeValue: public AllStatic { |