diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-04-30 19:40:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 19:40:30 -0700 |
commit | e020f4a2cb44fcbfd56c95a4a097f08cddc8367e (patch) | |
tree | 4bc1ff221fd7a0bad812c065bb205ee2fa870e30 /src/passes/passes.h | |
parent | ec426c6b8ba87c5c5107ed30497ad13252dd3258 (diff) | |
download | binaryen-e020f4a2cb44fcbfd56c95a4a097f08cddc8367e.tar.gz binaryen-e020f4a2cb44fcbfd56c95a4a097f08cddc8367e.tar.bz2 binaryen-e020f4a2cb44fcbfd56c95a4a097f08cddc8367e.zip |
--simplify-locals-nonesting (#1525)
Add a version of simplify-locals which does not create nesting. This keeps the IR flat (in the sense of --flatten).
Also refactor simpify-locals to be a template, so the various modes are all template parameters.
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 2eaf1049e..5ab03a439 100644 --- a/src/passes/passes.h +++ b/src/passes/passes.h @@ -67,6 +67,7 @@ Pass* createReReloopPass(); Pass* createRedundantSetEliminationPass(); Pass* createSafeHeapPass(); Pass* createSimplifyLocalsPass(); +Pass* createSimplifyLocalsNoNestingPass(); Pass* createSimplifyLocalsNoTeePass(); Pass* createSimplifyLocalsNoStructurePass(); Pass* createSimplifyLocalsNoTeeNoStructurePass(); |