diff options
author | Alon Zakai <azakai@google.com> | 2024-06-13 10:28:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-13 17:28:32 +0000 |
commit | 66610d84bc466d0826803d8e2951af48ca2f1bae (patch) | |
tree | e672c8aabf0af72b2d57b4cf7859e1be0d0ebb38 /test/unit/test_features.py | |
parent | 34686197f5a05854c0723214f3fdffbc9b19a7d5 (diff) | |
download | binaryen-66610d84bc466d0826803d8e2951af48ca2f1bae.tar.gz binaryen-66610d84bc466d0826803d8e2951af48ca2f1bae.tar.bz2 binaryen-66610d84bc466d0826803d8e2951af48ca2f1bae.zip |
Add local.set/tee local type annotations to BINARYEN_PRINT_FULL (#6657)
With this we now print e.g.
(local.set $temp (; local type: i32 ;)
...
This can be nice in large functions to avoid needing to scroll up to
see the local type, e.g. when debugging why unsubtyping doesn't
work somewhere.
Also avoid [ ] in this mode, in favor of the standard (; ;), and put those
at the end rather than at the start.
Diffstat (limited to 'test/unit/test_features.py')
0 files changed, 0 insertions, 0 deletions