summaryrefslogtreecommitdiff
path: root/scripts/auto_update_tests.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-02-22 10:18:48 -0800
committerGitHub <noreply@github.com>2024-02-22 10:18:48 -0800
commit4969f936bd44943b08525aff3db709dfc24ab1d6 (patch)
tree4fdc4d46b88b36fe6e05a22a56efad2fabfce5f4 /scripts/auto_update_tests.py
parentf6bb943490dc87b16481bfc1604a796edf2acea8 (diff)
downloadbinaryen-4969f936bd44943b08525aff3db709dfc24ab1d6.tar.gz
binaryen-4969f936bd44943b08525aff3db709dfc24ab1d6.tar.bz2
binaryen-4969f936bd44943b08525aff3db709dfc24ab1d6.zip
Fuzzer: Match the logging of i31ref between JS and C++ (#6335)
JS engines print i31ref as just a number, so we need a small regex to standardize the representation (similar to what we do for funcrefs on the code above). On the C++ side, make it actually print the i31ref rather than treat it like a generic reference (for whom we only print "object"). To do that we must unwrap an externalized i31 as necessary, and add a case for i31 in the printing logic. Also move that printing logic to its own function, as it was starting to get quite long.
Diffstat (limited to 'scripts/auto_update_tests.py')
0 files changed, 0 insertions, 0 deletions