diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-06 10:34:17 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-06 10:34:17 +0200 |
commit | a8ff83ac77864968a518bff5df013829a0534ab3 (patch) | |
tree | b4021baced5c902cadc1c38d95580c4486d7c850 /js/src/frontend/Parser.cpp | |
parent | 25169119a1ed94df2e1562d086687c7244791747 (diff) | |
download | uxp-a8ff83ac77864968a518bff5df013829a0534ab3.tar.gz |
Remove Parser::reportWithOffset since it's no longer used.
Diffstat (limited to 'js/src/frontend/Parser.cpp')
-rw-r--r-- | js/src/frontend/Parser.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/js/src/frontend/Parser.cpp b/js/src/frontend/Parser.cpp index 43f39dc23b..9f9169950a 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() |