Skip to content

Commit 2aa4869

Browse files
authored
Merge pull request swiftlang#15130 from gottesmm/pr-cf8e87dbd3b1ae0cb9986335bc37e08b16cacf58
[+0-normal-args] Make sure to use |= when enabling +0 in sil-opt.
2 parents c7cfef1 + 43c167d commit 2aa4869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/sil-opt/SILOpt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ int main(int argc, char **argv) {
326326
SILOpts.EnableSILOwnership = EnableSILOwnershipOpt;
327327
SILOpts.AssumeUnqualifiedOwnershipWhenParsing =
328328
AssumeUnqualifiedOwnershipWhenParsing;
329-
SILOpts.EnableGuaranteedNormalArguments =
329+
SILOpts.EnableGuaranteedNormalArguments |=
330330
EnableGuaranteedNormalArguments;
331331

332332
SILOpts.VerifyExclusivity = VerifyExclusivity;

0 commit comments

Comments
 (0)