mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
remove default value for the keepUnique argument of Builder.createEndCOWMutation
This avoids bugs because the default value false is sometimes not the right choice. NFC
This commit is contained in:
@@ -2287,7 +2287,7 @@ public:
|
||||
Int1Ty, getFunction(), isNative));
|
||||
}
|
||||
EndCOWMutationInst *createEndCOWMutation(SILLocation Loc, SILValue operand,
|
||||
bool keepUnique = false) {
|
||||
bool keepUnique) {
|
||||
return insert(new (getModule()) EndCOWMutationInst(getSILDebugLocation(Loc),
|
||||
operand, keepUnique));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user