Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index c535704f02461b667d289c68caf7da3b113abfc6..6dd01014409c7f141758267270c967c6a0da91ff 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -3842,8 +3842,7 @@ bool RegExpParser::simple() { |
RegExpTree* RegExpParser::ReportError(Vector<const char> message) { |
failed_ = true; |
- *error_ = isolate()->factory()->NewStringFromAscii( |
- message, NOT_TENURED).ToHandleChecked(); |
+ *error_ = isolate()->factory()->NewStringFromAscii(message).ToHandleChecked(); |
// Zip to the end to make sure the no more input is read. |
current_ = kEndMarker; |
next_pos_ = in()->length(); |