Index: src/regexp/regexp-parser.cc |
diff --git a/src/regexp/regexp-parser.cc b/src/regexp/regexp-parser.cc |
index c626010826fc1b06c039c643c7c595ebaf86eabd..dba81ae9a712d616dc4f6a480bd45bf873e31db9 100644 |
--- a/src/regexp/regexp-parser.cc |
+++ b/src/regexp/regexp-parser.cc |
@@ -75,7 +75,8 @@ void RegExpParser::Advance() { |
if (has_next()) { |
StackLimitCheck check(isolate()); |
if (check.HasOverflowed()) { |
- ReportError(CStrVector(Isolate::kStackOverflowMessage)); |
+ ReportError(CStrVector( |
+ MessageTemplate::TemplateString(MessageTemplate::kStackOverflow))); |
} else if (zone()->excess_allocation()) { |
ReportError(CStrVector("Regular expression too large")); |
} else { |