diff options
Diffstat (limited to 'src/ir/module-utils.cpp')
-rw-r--r-- | src/ir/module-utils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ir/module-utils.cpp b/src/ir/module-utils.cpp index b61fddd8b..c2f48eec8 100644 --- a/src/ir/module-utils.cpp +++ b/src/ir/module-utils.cpp @@ -341,6 +341,9 @@ struct CodeScanner counts.include(get->type); } else if (auto* set = curr->dynCast<ArraySet>()) { counts.note(set->ref->type); + } else if (auto* contBind = curr->dynCast<ContBind>()) { + counts.note(contBind->contTypeBefore); + counts.note(contBind->contTypeAfter); } else if (auto* contNew = curr->dynCast<ContNew>()) { counts.note(contNew->contType); } else if (auto* resume = curr->dynCast<Resume>()) { |