Fix typo to mark_uninitialized

This commit is contained in:
kitasuke
2018-08-29 23:32:33 +10:00
parent 836ad071bd
commit b6950fc38b

View File

@@ -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)) {
copy(cast<SingleValueInstruction>(User)->getUses(),