diff options
author | Alon Zakai <alonzakai@gmail.com> | 2017-05-16 18:27:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-16 18:27:46 -0700 |
commit | 443cfe929d094e34d8d84270965c738743d06585 (patch) | |
tree | 18a5e137d01214d3c5a2ff99e64b4affcc486b49 /src/passes/passes.h | |
parent | 6331e094380bc538cc7dcd5a716968b764939f81 (diff) | |
download | binaryen-443cfe929d094e34d8d84270965c738743d06585.tar.gz binaryen-443cfe929d094e34d8d84270965c738743d06585.tar.bz2 binaryen-443cfe929d094e34d8d84270965c738743d06585.zip |
Re-reloop pass (#1009)
This adds a pass that converts to a CFG, runs the relooper, and re-generates wasm from that. This depends on flatten-control-flow being run before.
The main goal here is to help code generators other than asm2wasm (which already receives relooped code from fastcomp).
Diffstat (limited to 'src/passes/passes.h')
-rw-r--r-- | src/passes/passes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/passes/passes.h b/src/passes/passes.h index 302d82b9f..6322aad3c 100644 --- a/src/passes/passes.h +++ b/src/passes/passes.h @@ -54,6 +54,7 @@ Pass *createRemoveUnusedModuleElementsPass(); Pass *createRemoveUnusedNamesPass(); Pass *createReorderFunctionsPass(); Pass *createReorderLocalsPass(); +Pass *createReReloopPass(); Pass *createSimplifyLocalsPass(); Pass *createSimplifyLocalsNoTeePass(); Pass *createSimplifyLocalsNoStructurePass(); |