diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-08-27 11:41:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 11:41:48 -0700 |
commit | 65112ceec0cb92ec853f3391263d51a12b15bad0 (patch) | |
tree | d8b54a465365a2fb4c15c5c859ad5e80447c8a7b /src/binaryen-c.cpp | |
parent | f215193ec12a45fdd893ea8a8cec1353aa3b529e (diff) | |
download | binaryen-65112ceec0cb92ec853f3391263d51a12b15bad0.tar.gz binaryen-65112ceec0cb92ec853f3391263d51a12b15bad0.tar.bz2 binaryen-65112ceec0cb92ec853f3391263d51a12b15bad0.zip |
Improve getFallthrough (#1643)
That method looks through tee_locals and other operations that receive a value and let it flow through them, like a block's final value, etc. It just handled a few such operations, with this PR all of them should be handled.
Also refactor it out of the OptimizeInstructions pass as I think it may be useful for propagating returned constants.
Diffstat (limited to 'src/binaryen-c.cpp')
0 files changed, 0 insertions, 0 deletions