diff options
Diffstat (limited to 'src/ir/possible-contents.cpp')
-rw-r--r-- | src/ir/possible-contents.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/possible-contents.cpp b/src/ir/possible-contents.cpp index d292529dc..05faf7b1e 100644 --- a/src/ir/possible-contents.cpp +++ b/src/ir/possible-contents.cpp @@ -903,7 +903,7 @@ struct InfoCollector return; } case NewElem: { - Type segType = getModule()->elementSegments[curr->segment]->type; + Type segType = getModule()->getElementSegment(curr->segment)->type; addRoot(DataLocation{heapType, 0}, PossibleContents::fromType(segType)); return; } |