summaryrefslogtreecommitdiff
path: root/src/passes/SpillPointers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/SpillPointers.cpp')
-rw-r--r--src/passes/SpillPointers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/SpillPointers.cpp b/src/passes/SpillPointers.cpp
index 5c3d546ad..10fa58845 100644
--- a/src/passes/SpillPointers.cpp
+++ b/src/passes/SpillPointers.cpp
@@ -132,7 +132,7 @@ struct SpillPointers
pointer, toSpill, spillLocal, pointerMap, func, getModule());
}
} else {
- WASM_UNREACHABLE();
+ WASM_UNREACHABLE("unexpected action");
}
}
}
@@ -179,7 +179,7 @@ struct SpillPointers
}
handleOperand(call->cast<CallIndirect>()->target);
} else {
- WASM_UNREACHABLE();
+ WASM_UNREACHABLE("unexpected expr");
}
// add the spills
for (auto index : toSpill) {