summaryrefslogtreecommitdiff
path: root/src/passes/passes.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-05-16 18:27:46 -0700
committerGitHub <noreply@github.com>2017-05-16 18:27:46 -0700
commit443cfe929d094e34d8d84270965c738743d06585 (patch)
tree18a5e137d01214d3c5a2ff99e64b4affcc486b49 /src/passes/passes.h
parent6331e094380bc538cc7dcd5a716968b764939f81 (diff)
downloadbinaryen-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.h1
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();