summaryrefslogtreecommitdiff
path: root/src/wasm/wasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r--src/wasm/wasm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp
index d331ba3a2..ec53ab25a 100644
--- a/src/wasm/wasm.cpp
+++ b/src/wasm/wasm.cpp
@@ -16,7 +16,7 @@
#include "wasm.h"
#include "wasm-traversal.h"
-#include "ast_utils.h"
+#include "ast/branch-utils.h"
namespace wasm {
@@ -175,7 +175,7 @@ static void handleUnreachable(Block* block) {
for (auto* child : block->list) {
if (child->type == unreachable) {
// there is an unreachable child, so we are unreachable, unless we have a break
- BreakSeeker seeker(block->name);
+ BranchUtils::BranchSeeker seeker(block->name);
Expression* expr = block;
seeker.walk(expr);
if (!seeker.found) {