diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-11 13:40:07 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-11 13:40:07 -0700 |
commit | 65d9334b3066bae667e729f3202f7aa2d7c11530 (patch) | |
tree | 1e7b14252f63ee760810aac3c5727bae0edf7362 /src/passes/Print.cpp | |
parent | 675c045de41d609e431a5b97f8b00fe433dd18cd (diff) | |
download | binaryen-65d9334b3066bae667e729f3202f7aa2d7c11530.tar.gz binaryen-65d9334b3066bae667e729f3202f7aa2d7c11530.tar.bz2 binaryen-65d9334b3066bae667e729f3202f7aa2d7c11530.zip |
De-recurse traversals (#333)
* refactor core walking to not recurse
* add a simplify-locals test
* reuse parent's non-branchey scan logic in SimpleExecutionWalker, reduce code duplication
* update wasm.js
* rename things following comments
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 8e3d503b8..7b68d956e 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -24,7 +24,7 @@ namespace wasm { -struct PrintSExpression : public WasmVisitor<PrintSExpression, void> { +struct PrintSExpression : public Visitor<PrintSExpression> { std::ostream& o; unsigned indent = 0; |