summaryrefslogtreecommitdiff
path: root/js/src/frontend/Parser.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 11:18:36 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 11:18:36 +0200
commit4fbf698b57ff8339320e8372b14b539c88be5d2d (patch)
treefd62fff5e83e4508fb4079fa748f7356dde98441 /js/src/frontend/Parser.h
parent388ec650c70d6e513fc4fb1f17d8984be985cd44 (diff)
downloaduxp-4fbf698b57ff8339320e8372b14b539c88be5d2d.tar.gz
Remove Parser::reportWithNode and its remaining callers.
All of the callsites have a full ParseNode* at hand, of which the offset can be directly accessed.
Diffstat (limited to 'js/src/frontend/Parser.h')
-rw-r--r--js/src/frontend/Parser.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/src/frontend/Parser.h b/js/src/frontend/Parser.h
index a7e48c1a40..196c71fa5d 100644
--- a/js/src/frontend/Parser.h
+++ b/js/src/frontend/Parser.h
@@ -907,7 +907,6 @@ class Parser final : private JS::AutoGCRooter, public StrictModeGetter
bool reportHelper(ParseReportKind kind, bool strict, uint32_t offset,
unsigned errorNumber, va_list args);
public:
- bool reportWithNode(ParseReportKind kind, bool strict, Node pn, unsigned errorNumber, ...);
bool reportNoOffset(ParseReportKind kind, bool strict, unsigned errorNumber, ...);
/* Report the given error at the current offset. */