summaryrefslogtreecommitdiff
path: root/src/ir/local-utils.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-08-31 10:58:03 -0700
committerGitHub <noreply@github.com>2021-08-31 10:58:03 -0700
commit7d966528f603e65dacbf25f585a5accc46470bbd (patch)
treea07634a95dee38a611bc7fc29bc0828a7e8d1dfe /src/ir/local-utils.h
parent41fff9e2284e9be6e8a99da05beda54f398b0305 (diff)
downloadbinaryen-7d966528f603e65dacbf25f585a5accc46470bbd.tar.gz
binaryen-7d966528f603e65dacbf25f585a5accc46470bbd.tar.bz2
binaryen-7d966528f603e65dacbf25f585a5accc46470bbd.zip
Add a Module parameter to EffectAnalyzer. NFC (#4115)
Knowing the module will allow us to do more analysis in the effect analyzer. For now, this just refactors the code to allow providing a module instead of features, and to infer the features from the module. This actually shortens the code in most places which is nice (just pass module instead of module->features). This modifies basically all callers to use the new module form, except for the fallthrough logic. That would require some more refactoring, so to keep this PR reasonably small that is not yet done.
Diffstat (limited to 'src/ir/local-utils.h')
0 files changed, 0 insertions, 0 deletions