summaryrefslogtreecommitdiff
path: root/src/wasm2asm-main.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-09-14 14:01:21 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-09-14 14:01:21 -0700
commit7d748241d3c69d0d87cf8d78174f174c234e406e (patch)
tree7b8dc5103c8b367573722164cdedddd87f6342a3 /src/wasm2asm-main.cpp
parentd8f45bca8141f6d4dcd46c46ef354756728848c6 (diff)
downloadbinaryen-7d748241d3c69d0d87cf8d78174f174c234e406e.tar.gz
binaryen-7d748241d3c69d0d87cf8d78174f174c234e406e.tar.bz2
binaryen-7d748241d3c69d0d87cf8d78174f174c234e406e.zip
when optimizing a block return value, replacing the sunk set with the value is only possible if the break is unconditional; if it is condition, we must tee the value so that if the break condition is false and we do not jump, then we have the new value in the local on the line after it
Diffstat (limited to 'src/wasm2asm-main.cpp')
0 files changed, 0 insertions, 0 deletions