summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ir/possible-contents.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir/possible-contents.cpp b/src/ir/possible-contents.cpp
index 0c4e28568..35e87175a 100644
--- a/src/ir/possible-contents.cpp
+++ b/src/ir/possible-contents.cpp
@@ -900,6 +900,7 @@ struct InfoCollector
if (curr->type == Type::unreachable) {
return;
}
+ addRoot(curr, PossibleContents::exactType(curr->type));
auto heapType = curr->type.getHeapType();
switch (curr->op) {
case NewData: {