summaryrefslogtreecommitdiff
path: root/js/src/wasm
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2023-04-01 01:08:40 +0200
committerMartok <martok@martoks-place.de>2023-04-03 16:50:23 +0200
commit9cd981b485c54e9294cc766cd8a7bd063fff1d61 (patch)
treefbb1836032d1bed79985fdf19b2d82610105acc8 /js/src/wasm
parent88f7cba9c98e2671ce1fdf0f8c2df1bc9317e3ba (diff)
downloaduxp-9cd981b485c54e9294cc766cd8a7bd063fff1d61.tar.gz
Issue #2173 - Add accessors to NullaryNode and change LoopControlStatement arity to PN_LOOP
Based-on: m-c 1479659/6
Diffstat (limited to 'js/src/wasm')
-rw-r--r--js/src/wasm/AsmJS.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/src/wasm/AsmJS.cpp b/js/src/wasm/AsmJS.cpp
index 6206f72cd0..82605af300 100644
--- a/js/src/wasm/AsmJS.cpp
+++ b/js/src/wasm/AsmJS.cpp
@@ -599,7 +599,6 @@ static inline PropertyName*
LoopControlMaybeLabel(ParseNode* pn)
{
MOZ_ASSERT(pn->isKind(PNK_BREAK) || pn->isKind(PNK_CONTINUE));
- MOZ_ASSERT(pn->isArity(PN_NULLARY));
return pn->as<LoopControlStatement>().label();
}