summaryrefslogtreecommitdiffstats
path: root/js/src/frontend/Parser.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-09 16:36:59 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:36 -0400
commit0f5f3c30490741c3053627de4fd5a27964c9953c (patch)
treed0caee98b1b308442a489f875102914b102a13c1 /js/src/frontend/Parser.h
parentdd0057fbf08d56bbcb3c61900ae2cfc8d359080d (diff)
downloadUXP-0f5f3c30490741c3053627de4fd5a27964c9953c.tar
UXP-0f5f3c30490741c3053627de4fd5a27964c9953c.tar.gz
UXP-0f5f3c30490741c3053627de4fd5a27964c9953c.tar.lz
UXP-0f5f3c30490741c3053627de4fd5a27964c9953c.tar.xz
UXP-0f5f3c30490741c3053627de4fd5a27964c9953c.zip
1336783 - followup: Fix rooting.
Diffstat (limited to 'js/src/frontend/Parser.h')
-rw-r--r--js/src/frontend/Parser.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/src/frontend/Parser.h b/js/src/frontend/Parser.h
index d53a64eeb..4eb0f5a39 100644
--- a/js/src/frontend/Parser.h
+++ b/js/src/frontend/Parser.h
@@ -1331,14 +1331,14 @@ class Parser final : public ParserBase, private JS::AutoGCRooter
Node classDefinition(YieldHandling yieldHandling, ClassContext classContext,
DefaultHandling defaultHandling);
- PropertyName* checkLabelOrIdentifierReference(PropertyName* ident,
- uint32_t offset,
- YieldHandling yieldHandling);
-
- PropertyName* checkBindingIdentifier(PropertyName* ident,
+ bool checkLabelOrIdentifierReference(HandlePropertyName ident,
uint32_t offset,
YieldHandling yieldHandling);
+ bool checkBindingIdentifier(HandlePropertyName ident,
+ uint32_t offset,
+ YieldHandling yieldHandling);
+
PropertyName* labelOrIdentifierReference(YieldHandling yieldHandling);
PropertyName* labelIdentifier(YieldHandling yieldHandling) {