Index: src/parsing/preparser.cc |
diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc |
index 2f8f232537fbe2068d210d126fbe4e348e374f9b..d4438b8d696722c1e3dae4180fde1386f519706e 100644 |
--- a/src/parsing/preparser.cc |
+++ b/src/parsing/preparser.cc |
@@ -268,7 +268,7 @@ PreParserExpression PreParser::ParseClassLiteral( |
} |
LanguageMode class_language_mode = language_mode(); |
- BlockState block_state(&scope_state_); |
+ BlockState block_state(zone(), &scope_state_); |
scope()->SetLanguageMode( |
static_cast<LanguageMode>(class_language_mode | STRICT)); |
// TODO(marja): Make PreParser use scope names too. |