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