Index: src/preparser.h |
diff --git a/src/preparser.h b/src/preparser.h |
index f6418f23b0d19386f4aab448019d65b7cafedc40..aeef700bfe7593a8369b4c4b5f0350fa8dc5b707 100644 |
--- a/src/preparser.h |
+++ b/src/preparser.h |
@@ -1340,13 +1340,11 @@ |
PreParserExpression NewRegExpLiteral(PreParserIdentifier js_pattern, |
PreParserIdentifier js_flags, |
int literal_index, |
- bool is_strong, |
int pos) { |
return PreParserExpression::Default(); |
} |
PreParserExpression NewArrayLiteral(PreParserExpressionList values, |
int literal_index, |
- bool is_strong, |
int pos) { |
return PreParserExpression::Default(); |
} |
@@ -1367,7 +1365,6 @@ |
int literal_index, |
int boilerplate_properties, |
bool has_function, |
- bool is_strong, |
int pos) { |
return PreParserExpression::Default(); |
} |
@@ -2213,8 +2210,7 @@ |
} |
IdentifierT js_flags = this->GetNextSymbol(scanner()); |
Next(); |
- return factory()->NewRegExpLiteral(js_pattern, js_flags, literal_index, |
- is_strong(language_mode()), pos); |
+ return factory()->NewRegExpLiteral(js_pattern, js_flags, literal_index, pos); |
} |
@@ -2479,8 +2475,7 @@ |
// Update the scope information before the pre-parsing bailout. |
int literal_index = function_state_->NextMaterializedLiteralIndex(); |
- return factory()->NewArrayLiteral(values, literal_index, |
- is_strong(language_mode()), pos); |
+ return factory()->NewArrayLiteral(values, literal_index, pos); |
} |
@@ -2736,7 +2731,6 @@ |
literal_index, |
number_of_boilerplate_properties, |
has_function, |
- is_strong(language_mode()), |
pos); |
} |