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.
2 parents 6a3011d + 631bee4 commit 649072bCopy full SHA for 649072b
lib/SILOptimizer/Analysis/BasicCalleeAnalysis.cpp
@@ -75,7 +75,7 @@ getMemoryBehavior(FullApplySite as, bool observeRetains) {
75
76
bool swift::isDeinitBarrier(SILInstruction *const instruction,
77
BasicCalleeAnalysis *bca) {
78
- if (!instructionIsDeinitBarrierFunction) {
+ if (!instructionIsDeinitBarrierFunction || !bca) {
79
return mayBeDeinitBarrierNotConsideringSideEffects(instruction);
80
}
81
BridgedInstruction inst = {
0 commit comments