summaryrefslogtreecommitdiff
path: root/auto_update_tests.py
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-07-26 19:04:45 -0700
committerGitHub <noreply@github.com>2019-07-26 19:04:45 -0700
commitedf001feb62d32c76f20d5564fabfab93035afdf (patch)
treebda476b9243bde99b59c2c770528ce476904f03b /auto_update_tests.py
parentccd95f8f5725a8d52557772b3081875babda312f (diff)
downloadbinaryen-edf001feb62d32c76f20d5564fabfab93035afdf.tar.gz
binaryen-edf001feb62d32c76f20d5564fabfab93035afdf.tar.bz2
binaryen-edf001feb62d32c76f20d5564fabfab93035afdf.zip
Fix unreachable prefix in instruction printing (#2265)
When a memory instruction's type is unreachable, i.e., one of its child expressions is unreachable, the instruction will be printed like `unreachable.load`, which is invalid text format. This prints unreachable prefix instruction types as `i32` to just make them pass the parser. It is OK because they are not reachable anyway. Also this removes printing of `?` in atomic.rmw instruction printing.
Diffstat (limited to 'auto_update_tests.py')
0 files changed, 0 insertions, 0 deletions