From 5e57a13614c56f959faab675d6bcabbd629ec562 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 26 Jan 2021 21:09:31 +0000 Subject: [GC] RefIsNull => RefIs. (#3516) This internal refactoring prepares us for ref.is_func/data/i31, by renaming the node and adding an "op" field. For now that field must always be "Null" which means it is a ref.is_null. This adjusts the C API to match the new IR shape. The high-level JS API is unchanged. --- scripts/gen-s-parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/gen-s-parser.py') diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py index 6dadb8ba1..19cf093be 100755 --- a/scripts/gen-s-parser.py +++ b/scripts/gen-s-parser.py @@ -529,7 +529,7 @@ instructions = [ # reference types instructions # TODO Add table instructions ("ref.null", "makeRefNull(s)"), - ("ref.is_null", "makeRefIsNull(s)"), + ("ref.is_null", "makeRefIs(s)"), ("ref.func", "makeRefFunc(s)"), # exception handling instructions ("try", "makeTry(s)"), -- cgit v1.2.3