summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-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()