diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-14 14:01:21 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-14 14:01:21 -0700 |
commit | 7d748241d3c69d0d87cf8d78174f174c234e406e (patch) | |
tree | 7b8dc5103c8b367573722164cdedddd87f6342a3 /src/wasm2asm-main.cpp | |
parent | d8f45bca8141f6d4dcd46c46ef354756728848c6 (diff) | |
download | binaryen-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