Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index 847d2c2935ef9905daf17fed6796e7a9aabc9e66..8fcda503d0d17f69ef3d83c94340547df7e5282e 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -116,11 +116,11 @@ PreParser::PreParseResult PreParser::PreParseLazyFunction( |
log_ = log; |
// Lazy functions always have trivial outer scopes (no with/catch scopes). |
PreParserScope top_scope(scope_, GLOBAL_SCOPE); |
- PreParserFactory top_factory(NULL, NULL, NULL); |
+ PreParserFactory top_factory(NULL, NULL); |
FunctionState top_state(&function_state_, &scope_, &top_scope, &top_factory); |
scope_->SetStrictMode(strict_mode); |
PreParserScope function_scope(scope_, FUNCTION_SCOPE); |
- PreParserFactory function_factory(NULL, NULL, NULL); |
+ PreParserFactory function_factory(NULL, NULL); |
FunctionState function_state(&function_state_, &scope_, &function_scope, |
&function_factory); |
function_state.set_is_generator(is_generator); |
@@ -825,7 +825,7 @@ PreParser::Expression PreParser::ParseFunctionLiteral( |
// Parse function body. |
ScopeType outer_scope_type = scope_->type(); |
PreParserScope function_scope(scope_, FUNCTION_SCOPE); |
- PreParserFactory factory(NULL, NULL, NULL); |
+ PreParserFactory factory(NULL, NULL); |
FunctionState function_state(&function_state_, &scope_, &function_scope, |
&factory); |
function_state.set_is_generator(IsGeneratorFunction(kind)); |