summaryrefslogtreecommitdiff
path: root/src/pass.h
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-03-08 09:20:42 -0800
committerGitHub <noreply@github.com>2024-03-08 17:20:42 +0000
commita484cc215944a484bd4432668cff9ee53cacc720 (patch)
tree2936941277f7b0e715788f9cbe3fd6603e801d36 /src/pass.h
parent7af0b474304c30134ef875567668bb6cd36e21aa (diff)
downloadbinaryen-a484cc215944a484bd4432668cff9ee53cacc720.tar.gz
binaryen-a484cc215944a484bd4432668cff9ee53cacc720.tar.bz2
binaryen-a484cc215944a484bd4432668cff9ee53cacc720.zip
[NFC] Clean up the unreachable replacement code in Print.cpp (#6388)
When instructions cannot be printed because the children from which they are supposed to get their type immediates are unreachable or null, we print blocks of their dropped children followed by unreachables. But the logic for making this happen was more complicated than necessary and in fact included dead code. Clean it up.
Diffstat (limited to 'src/pass.h')
0 files changed, 0 insertions, 0 deletions