diff options
author | Thomas Lively <tlively@google.com> | 2023-11-16 19:56:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 10:56:25 -0800 |
commit | 5241d8796c2cf42dca45ebf53d5aea00d8a555d8 (patch) | |
tree | 204bdf8cba3c9c926b0447b07152aca2d6c72cfa /src/wasm/wasm-io.cpp | |
parent | 0e37557d779147375655c0bb46838709ba459091 (diff) | |
download | binaryen-5241d8796c2cf42dca45ebf53d5aea00d8a555d8.tar.gz binaryen-5241d8796c2cf42dca45ebf53d5aea00d8a555d8.tar.bz2 binaryen-5241d8796c2cf42dca45ebf53d5aea00d8a555d8.zip |
Update IRBuilder to visit control flow correctly (#6124)
Besides If, no control flow structure consumes values from the stack. Fix a
bug in IRBuilder that was causing it to pop control flow children. Also fix a
follow on bug in outlining where it did not make the If condition available on
the stack when starting to visit an If. This required making push() part of
the public API of IRBuilder.
As a drive-by, also add helpful debug logging to IRBuilder.
Co-authored-by: Ashley Nelson <nashley@google.com>
Diffstat (limited to 'src/wasm/wasm-io.cpp')
0 files changed, 0 insertions, 0 deletions