diff options
Diffstat (limited to 'src/ir/possible-contents.cpp')
-rw-r--r-- | src/ir/possible-contents.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ir/possible-contents.cpp b/src/ir/possible-contents.cpp index 44015c113..c80ada95c 100644 --- a/src/ir/possible-contents.cpp +++ b/src/ir/possible-contents.cpp @@ -1212,6 +1212,10 @@ struct InfoCollector // TODO: optimize when possible addRoot(curr); } + void visitSuspend(Suspend* curr) { + // TODO: optimize when possible + addRoot(curr); + } void visitFunction(Function* func) { // Functions with a result can flow a value out from their body. |