From 51350a8d2e7a361cf658951798351fc242420328 Mon Sep 17 00:00:00 2001 From: Daniel Wirtz Date: Mon, 21 Sep 2020 09:45:58 +0200 Subject: GC: Add ref.eq instruction (#3145) With `eqref` now integrated, the `ref.eq` instruction can be implemented. The only valid LHS and RHS value is `(ref.null eq)` for now, but implementation and fuzzer integration is otherwise complete. --- scripts/gen-s-parser.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/gen-s-parser.py') diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py index d66f10852..dd053ecee 100755 --- a/scripts/gen-s-parser.py +++ b/scripts/gen-s-parser.py @@ -495,7 +495,9 @@ instructions = [ # Multivalue pseudoinstructions ("tuple.make", "makeTupleMake(s)"), ("tuple.extract", "makeTupleExtract(s)"), - ("pop", "makePop(s)") + ("pop", "makePop(s)"), + # GC instructions + ("ref.eq", "makeRefEq(s)") ] -- cgit v1.2.3