summaryrefslogtreecommitdiff
path: root/src/abi/stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/abi/stack.h')
-rw-r--r--src/abi/stack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abi/stack.h b/src/abi/stack.h
index 22cd8ba3c..68ac7f08a 100644
--- a/src/abi/stack.h
+++ b/src/abi/stack.h
@@ -93,7 +93,7 @@ getStackSpace(Index local, Function* func, Index size, Module& wasm) {
builder.makeLocalGet(local, PointerType),
builder.makeConst(Literal(int32_t(size))));
} else {
- WASM_UNREACHABLE();
+ WASM_UNREACHABLE("unhandled PointerType");
}
block->list.push_back(builder.makeGlobalSet(stackPointer->name, added));
auto makeStackRestore = [&]() {