Skip to content

Commit 85b126d

Browse files
committed
SILVerifier: Fix the opened c-o-w existential check for debug_value_addr instruction
1 parent 49b3377 commit 85b126d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/SIL/SILVerifier.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,6 +2255,9 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
22552255
CastConsumptionKind::CopyOnSuccess)
22562256
return true;
22572257
break;
2258+
case ValueKind::DebugValueAddrInst:
2259+
// Harmless use.
2260+
break;
22582261
default:
22592262
assert(false && "Unhandled unexpected instruction");
22602263
break;

0 commit comments

Comments
 (0)