summaryrefslogtreecommitdiff
path: root/src/passes/LoopInvariantCodeMotion.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-07-20 12:46:28 -0700
committerGitHub <noreply@github.com>2023-07-20 12:46:28 -0700
commit01f5eb8cf7d280e12985e628041ba57f9f8402d1 (patch)
treed4c691bb78bd3cef6e3975d9f8fc25d42eaa777e /src/passes/LoopInvariantCodeMotion.cpp
parentefe29f417d9c1420af851b526b81e7bee4bb1f32 (diff)
downloadbinaryen-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