diff options
Diffstat (limited to 'src/asm2wasm.h')
-rw-r--r-- | src/asm2wasm.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h index cb1998aa4..be11344b2 100644 --- a/src/asm2wasm.h +++ b/src/asm2wasm.h @@ -28,6 +28,7 @@ #include "shared-constants.h" #include "asm_v_wasm.h" #include "pass.h" +#include "ast_utils.h" namespace wasm { @@ -66,17 +67,6 @@ struct AstStackHelper { std::vector<Ref> AstStackHelper::astStack; -struct BreakSeeker : public WasmWalker<BreakSeeker> { - IString target; // look for this one - size_t found; - - BreakSeeker(IString target) : target(target), found(false) {} - - void visitBreak(Break *curr) { - if (curr->name == target) found++; - } -}; - // // Asm2WasmPreProcessor - does some initial parsing/processing // of asm.js code. |