summaryrefslogtreecommitdiff
path: root/src/ir/module-splitting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/module-splitting.cpp')
-rw-r--r--src/ir/module-splitting.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir/module-splitting.cpp b/src/ir/module-splitting.cpp
index 111271063..b8abbb42e 100644
--- a/src/ir/module-splitting.cpp
+++ b/src/ir/module-splitting.cpp
@@ -156,6 +156,7 @@ Expression* TableSlotManager::Slot::makeExpr(Module& module) {
void TableSlotManager::addSlot(Name func, Slot slot) {
auto it = funcIndices.insert(std::make_pair(func, slot));
+ WASM_UNUSED(it);
assert(it.second && "Function already has multiple table slots");
}