summaryrefslogtreecommitdiff
path: root/src/compiler-support.h
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-11-16 19:56:25 +0100
committerGitHub <noreply@github.com>2023-11-16 10:56:25 -0800
commit5241d8796c2cf42dca45ebf53d5aea00d8a555d8 (patch)
tree204bdf8cba3c9c926b0447b07152aca2d6c72cfa /src/compiler-support.h
parent0e37557d779147375655c0bb46838709ba459091 (diff)
downloadbinaryen-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/compiler-support.h')
0 files changed, 0 insertions, 0 deletions