We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 548878f commit 806ef0fCopy full SHA for 806ef0f
lib/SIL/InstructionUtils.cpp
@@ -33,6 +33,9 @@ SILValue swift::getUnderlyingObject(SILValue V) {
33
}
34
35
36
+/// Strip off casts and address projections into the interior of a value. Unlike
37
+/// getUnderlyingObject, this does not find the root of a heap object--a class
38
+/// property is itself an address root.
39
SILValue swift::getUnderlyingAddressRoot(SILValue V) {
40
while (true) {
41
SILValue V2 = stripIndexingInsts(stripCasts(V));
0 commit comments