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:
Erik Eckstein
2023-12-06 15:39:59 +01:00
parent d4b1172537
commit bfeb2128cb
3 changed files with 3 additions and 3 deletions

View File

@@ -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));
}