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 d91fed8 commit 763dd47Copy full SHA for 763dd47
SwiftCompilerSources/Sources/Optimizer/FunctionPasses/ObjectOutliner.swift
@@ -265,10 +265,7 @@ private func isValidUseOfObject(_ use: Operand) -> Bool {
265
is UpcastInst,
266
is BeginDeallocRefInst,
267
is RefTailAddrInst,
268
- is RefElementAddrInst,
269
- is StructInst,
270
- is PointerToAddressInst,
271
- is IndexAddrInst:
+ is RefElementAddrInst:
272
for instUse in (inst as! SingleValueInstruction).uses {
273
if !isValidUseOfObject(instUse) {
274
return false
0 commit comments