summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 10:34:17 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 10:34:17 +0200
commit51e2758e02a6187228e35f58bfa0e1752870476b (patch)
treeb4021baced5c902cadc1c38d95580c4486d7c850
parent940a6ceb9a5b3d8c7c2ed53da67f5c14cc84925c (diff)
downloadUXP-51e2758e02a6187228e35f58bfa0e1752870476b.tar
UXP-51e2758e02a6187228e35f58bfa0e1752870476b.tar.gz
UXP-51e2758e02a6187228e35f58bfa0e1752870476b.tar.lz
UXP-51e2758e02a6187228e35f58bfa0e1752870476b.tar.xz
UXP-51e2758e02a6187228e35f58bfa0e1752870476b.zip
Remove Parser::reportWithOffset since it's no longer used.
-rw-r--r--js/src/frontend/Parser.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/js/src/frontend/Parser.cpp b/js/src/frontend/Parser.cpp
index 43f39dc23..9f9169950 100644
--- a/js/src/frontend/Parser.cpp
+++ b/js/src/frontend/Parser.cpp
@@ -701,18 +701,6 @@ Parser<ParseHandler>::reportNoOffset(ParseReportKind kind, bool strict, unsigned
return result;
}
-template <typename ParseHandler>
-bool
-Parser<ParseHandler>::reportWithOffset(ParseReportKind kind, bool strict, uint32_t offset,
- unsigned errorNumber, ...)
-{
- va_list args;
- va_start(args, errorNumber);
- bool result = reportHelper(kind, strict, offset, errorNumber, args);
- va_end(args);
- return result;
-}
-
template <>
bool
Parser<FullParseHandler>::abortIfSyntaxParser()