diff options
Diffstat (limited to 'src/ast_utils.h')
-rw-r--r-- | src/ast_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast_utils.h b/src/ast_utils.h index 5ab427178..561e12983 100644 --- a/src/ast_utils.h +++ b/src/ast_utils.h @@ -22,7 +22,7 @@ namespace wasm { -struct BreakSeeker : public WasmWalker<BreakSeeker> { +struct BreakSeeker : public PostWalker<BreakSeeker> { Name target; // look for this one size_t found; @@ -42,7 +42,7 @@ struct BreakSeeker : public WasmWalker<BreakSeeker> { // Look for side effects, including control flow // TODO: look at individual locals -struct EffectAnalyzer : public WasmWalker<EffectAnalyzer> { +struct EffectAnalyzer : public PostWalker<EffectAnalyzer> { bool branches = false; bool calls = false; bool readsLocal = false; |