summaryrefslogtreecommitdiff
path: root/src/asmjs/shared-constants.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2018-08-27 11:41:48 -0700
committerGitHub <noreply@github.com>2018-08-27 11:41:48 -0700
commit65112ceec0cb92ec853f3391263d51a12b15bad0 (patch)
treed8b54a465365a2fb4c15c5c859ad5e80447c8a7b /src/asmjs/shared-constants.cpp
parentf215193ec12a45fdd893ea8a8cec1353aa3b529e (diff)
downloadbinaryen-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/asmjs/shared-constants.cpp')
0 files changed, 0 insertions, 0 deletions