We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7213e commit 969477aCopy full SHA for 969477a
lib/SILOptimizer/Mandatory/SendNonSendable.cpp
@@ -672,7 +672,8 @@ class PartitionOpTranslator {
672
// this is handled as assigning to each possible arg being branched to the
673
// merge of all values that could be passed to it from this basic block.
674
std::vector<PartitionOp> translateSILPhi(
675
- std::vector<std::pair<std::vector<SILValue>, SILBasicBlock*>> branches) {
+ const std::vector<std::pair<std::vector<SILValue>, SILBasicBlock *>>
676
+ &branches) {
677
SmallFrozenMultiMap<SILValue, SILValue, 8> argSources;
678
for (const auto &[args, dest] : branches) {
679
assert(args.size() >= dest->getNumArguments());
0 commit comments