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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/SpillPointers.cpp b/src/passes/SpillPointers.cpp
index 7458f5fbd..453510592 100644
--- a/src/passes/SpillPointers.cpp
+++ b/src/passes/SpillPointers.cpp
@@ -155,7 +155,7 @@ struct SpillPointers
Function* func,
Module* module) {
auto* call = *origin;
- if (call->type == unreachable) {
+ if (call->type == Type::unreachable) {
return; // the call is never reached anyhow, ignore
}
Builder builder(*module);