diff options
author | Alon Zakai <azakai@google.com> | 2023-07-20 12:46:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-20 12:46:28 -0700 |
commit | 01f5eb8cf7d280e12985e628041ba57f9f8402d1 (patch) | |
tree | d4c691bb78bd3cef6e3975d9f8fc25d42eaa777e /src/passes/LoopInvariantCodeMotion.cpp | |
parent | efe29f417d9c1420af851b526b81e7bee4bb1f32 (diff) | |
download | binaryen-01f5eb8cf7d280e12985e628041ba57f9f8402d1.tar.gz binaryen-01f5eb8cf7d280e12985e628041ba57f9f8402d1.tar.bz2 binaryen-01f5eb8cf7d280e12985e628041ba57f9f8402d1.zip |
[NFC] Avoid using ControlFlowWalker in CFGWalker (#5827)
ControlFlowWalker builds a stack of control flow items and allows finding
the target of a branch using it. But the only use CFGWalker made of that was
to map a block or a loop to its branches. We can just use the name of the block
or loop in the map, and avoid the extra overhead.
Diffstat (limited to 'src/passes/LoopInvariantCodeMotion.cpp')
0 files changed, 0 insertions, 0 deletions