mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #19048 from kitasuke/fix_typo_of_marked_uninitialized
This commit is contained in:
@@ -328,7 +328,7 @@ findUnexpectedBoxUse(SILValue Box, bool examinePartialApply,
|
||||
(!inAppliedFunction && isa<DeallocBoxInst>(User)))
|
||||
continue;
|
||||
|
||||
// If our user instruction is a copy_value or a marked_uninitialized, visit
|
||||
// If our user instruction is a copy_value or a mark_uninitialized, visit
|
||||
// the users recursively.
|
||||
if (isa<MarkUninitializedInst>(User) || isa<CopyValueInst>(User)) {
|
||||
llvm::copy(cast<SingleValueInstruction>(User)->getUses(),
|
||||
|
||||
Reference in New Issue
Block a user