summaryrefslogtreecommitdiff
path: root/src/passes/Directize.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-11-02 21:50:25 +0100
committerGitHub <noreply@github.com>2023-11-02 13:50:25 -0700
commit4fba26a77ea344b8d2b49cc8e1afdc8fcda13e96 (patch)
tree5409b665b4610bc8c07f2e7629d5883f4f3c0633 /src/passes/Directize.cpp
parent2c3860b8f6e9ba3e0878ecadfdef409da0f471b7 (diff)
downloadbinaryen-4fba26a77ea344b8d2b49cc8e1afdc8fcda13e96.tar.gz
binaryen-4fba26a77ea344b8d2b49cc8e1afdc8fcda13e96.tar.bz2
binaryen-4fba26a77ea344b8d2b49cc8e1afdc8fcda13e96.zip
[analysis] Make it easier to implement a transfer function (#6077)
Combine the `transfer` and `getDependents` methods of a transfer function so that a transfer function only has to implement `transfer`, which now returns a range of basic blocks that may need to be re-analyzed. To make it easier to implement the returned basic block range, change the requirement so that it provides iterators to `const BasicBlock*` rather than `BasicBlock`. This allows us to entirely remove cfg-impl.h.
Diffstat (limited to 'src/passes/Directize.cpp')
0 files changed, 0 insertions, 0 deletions