summaryrefslogtreecommitdiff
path: root/src/passes/SSAify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/SSAify.cpp')
-rw-r--r--src/passes/SSAify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/SSAify.cpp b/src/passes/SSAify.cpp
index c220fdd06..8e827d0fc 100644
--- a/src/passes/SSAify.cpp
+++ b/src/passes/SSAify.cpp
@@ -150,7 +150,7 @@ struct SSAify : public Pass {
LiteralUtils::makeZero(get->type, *module);
// If we replace a local.get with a null then we are refining the
// type that the parent receives to a bottom type.
- if (get->type.isRef()) {
+ if (get->type.hasRef()) {
refinalize = true;
}
} else {