diff options
Diffstat (limited to 'src/ir/possible-contents.cpp')
-rw-r--r-- | src/ir/possible-contents.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ir/possible-contents.cpp b/src/ir/possible-contents.cpp index 8b95490b6..1d1825865 100644 --- a/src/ir/possible-contents.cpp +++ b/src/ir/possible-contents.cpp @@ -678,6 +678,9 @@ struct InfoCollector } addRoot(curr, PossibleContents::exactType(curr->type)); } + void visitStringConst(StringConst* curr) { + addRoot(curr, PossibleContents::exactType(curr->type)); + } // TODO: Model which throws can go to which catches. For now, anything thrown // is sent to the location of that tag, and any catch of that tag can |