summaryrefslogtreecommitdiff
path: root/src/passes/ReReloop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/ReReloop.cpp')
-rw-r--r--src/passes/ReReloop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/ReReloop.cpp b/src/passes/ReReloop.cpp
index 0fbe22c71..5d4190d18 100644
--- a/src/passes/ReReloop.cpp
+++ b/src/passes/ReReloop.cpp
@@ -102,7 +102,7 @@ struct ReReloop final : public Pass {
struct Task {
ReReloop& parent;
Task(ReReloop& parent) : parent(parent) {}
- virtual void run() { WASM_UNREACHABLE(); }
+ virtual void run() { WASM_UNREACHABLE("unimpl"); }
};
typedef std::shared_ptr<Task> TaskPtr;
@@ -200,7 +200,7 @@ struct ReReloop final : public Pass {
parent.addBranch(ifTrueEnd, after);
parent.addBranch(ifFalseEnd, after);
} else {
- WASM_UNREACHABLE();
+ WASM_UNREACHABLE("invalid phase");
}
}
};