Skip to content

Commit 7768b00

Browse files
Merge pull request #62501 from nate-chandler/remove-in-constant
[SIL] Removed Indirect_In_Constant convention.
2 parents fe49499 + 8d8577e commit 7768b00

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+40
-130
lines changed

SwiftCompilerSources/Sources/SIL/Argument.swift

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ public enum ArgumentConvention {
8686
/// object.
8787
case indirectIn
8888

89-
/// This argument is passed indirectly, i.e. by directly passing the address
90-
/// of an object in memory. The callee must treat the object as read-only
91-
/// The callee may assume that the address does not alias any valid object.
92-
case indirectInConstant
93-
9489
/// This argument is passed indirectly, i.e. by directly passing the address
9590
/// of an object in memory. The callee may not modify and does not destroy
9691
/// the object.
@@ -130,7 +125,7 @@ public enum ArgumentConvention {
130125

131126
public var isIndirect: Bool {
132127
switch self {
133-
case .indirectIn, .indirectInConstant, .indirectInGuaranteed,
128+
case .indirectIn, .indirectInGuaranteed,
134129
.indirectInout, .indirectInoutAliasable, .indirectOut:
135130
return true
136131
case .directOwned, .directUnowned, .directGuaranteed:
@@ -140,7 +135,7 @@ public enum ArgumentConvention {
140135

141136
public var isIndirectIn: Bool {
142137
switch self {
143-
case .indirectIn, .indirectInConstant, .indirectInGuaranteed:
138+
case .indirectIn, .indirectInGuaranteed:
144139
return true
145140
case .directOwned, .directUnowned, .directGuaranteed,
146141
.indirectInout, .indirectInoutAliasable, .indirectOut:
@@ -152,7 +147,7 @@ public enum ArgumentConvention {
152147
switch self {
153148
case .indirectInGuaranteed, .directGuaranteed:
154149
return true
155-
case .indirectIn, .indirectInConstant, .directOwned, .directUnowned,
150+
case .indirectIn, .directOwned, .directUnowned,
156151
.indirectInout, .indirectInoutAliasable, .indirectOut:
157152
return false
158153
}
@@ -161,7 +156,6 @@ public enum ArgumentConvention {
161156
public var isExclusiveIndirect: Bool {
162157
switch self {
163158
case .indirectIn,
164-
.indirectInConstant,
165159
.indirectOut,
166160
.indirectInGuaranteed,
167161
.indirectInout:
@@ -182,7 +176,6 @@ public enum ArgumentConvention {
182176
return true
183177

184178
case .indirectIn,
185-
.indirectInConstant,
186179
.indirectOut,
187180
.indirectInGuaranteed,
188181
.directUnowned,
@@ -205,7 +198,6 @@ extension BridgedArgumentConvention {
205198
var convention: ArgumentConvention {
206199
switch self {
207200
case ArgumentConvention_Indirect_In: return .indirectIn
208-
case ArgumentConvention_Indirect_In_Constant: return .indirectInConstant
209201
case ArgumentConvention_Indirect_In_Guaranteed: return .indirectInGuaranteed
210202
case ArgumentConvention_Indirect_Inout: return .indirectInout
211203
case ArgumentConvention_Indirect_InoutAliasable: return .indirectInoutAliasable

SwiftCompilerSources/Sources/SIL/Effects.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ public struct SideEffects : CustomStringConvertible, NoReflectionChildren {
491491
result.ownership = SideEffects.Ownership()
492492
}
493493
switch convention {
494-
case .indirectIn, .indirectInConstant:
494+
case .indirectIn:
495495
result.memory.write = false
496496
case .indirectInGuaranteed:
497497
result.memory.write = false

include/swift/AST/Types.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3707,11 +3707,6 @@ enum class ParameterConvention : uint8_t {
37073707
/// object.
37083708
Indirect_In,
37093709

3710-
/// This argument is passed indirectly, i.e. by directly passing the address
3711-
/// of an object in memory. The callee must treat the object as read-only
3712-
/// The callee may assume that the address does not alias any valid object.
3713-
Indirect_In_Constant,
3714-
37153710
/// This argument is passed indirectly, i.e. by directly passing the address
37163711
/// of an object in memory. The callee may not modify and does not destroy
37173712
/// the object.
@@ -3754,7 +3749,6 @@ static_assert(unsigned(ParameterConvention::Direct_Guaranteed) < (1<<3),
37543749
inline bool isIndirectFormalParameter(ParameterConvention conv) {
37553750
switch (conv) {
37563751
case ParameterConvention::Indirect_In:
3757-
case ParameterConvention::Indirect_In_Constant:
37583752
case ParameterConvention::Indirect_Inout:
37593753
case ParameterConvention::Indirect_InoutAliasable:
37603754
case ParameterConvention::Indirect_In_Guaranteed:
@@ -3770,7 +3764,6 @@ inline bool isIndirectFormalParameter(ParameterConvention conv) {
37703764
inline bool isConsumedParameter(ParameterConvention conv) {
37713765
switch (conv) {
37723766
case ParameterConvention::Indirect_In:
3773-
case ParameterConvention::Indirect_In_Constant:
37743767
case ParameterConvention::Direct_Owned:
37753768
return true;
37763769

@@ -3796,7 +3789,6 @@ inline bool isGuaranteedParameter(ParameterConvention conv) {
37963789
case ParameterConvention::Indirect_Inout:
37973790
case ParameterConvention::Indirect_InoutAliasable:
37983791
case ParameterConvention::Indirect_In:
3799-
case ParameterConvention::Indirect_In_Constant:
38003792
case ParameterConvention::Direct_Unowned:
38013793
case ParameterConvention::Direct_Owned:
38023794
return false;

include/swift/SIL/ApplySite.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,6 @@ class ApplySite {
386386
return pai->isOnStack() ? SILArgumentConvention::Direct_Guaranteed
387387
: SILArgumentConvention::Direct_Owned;
388388
case SILArgumentConvention::Indirect_In:
389-
case SILArgumentConvention::Indirect_In_Constant:
390389
case SILArgumentConvention::Indirect_In_Guaranteed:
391390
return pai->isOnStack() ? SILArgumentConvention::Indirect_In_Guaranteed
392391
: SILArgumentConvention::Indirect_In;

include/swift/SIL/SILArgumentConvention.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ namespace swift {
2525
struct SILArgumentConvention {
2626
enum ConventionType : uint8_t {
2727
Indirect_In,
28-
Indirect_In_Constant,
2928
Indirect_In_Guaranteed,
3029
Indirect_Inout,
3130
Indirect_InoutAliasable,
@@ -43,9 +42,6 @@ struct SILArgumentConvention {
4342
case ParameterConvention::Indirect_In:
4443
Value = SILArgumentConvention::Indirect_In;
4544
return;
46-
case ParameterConvention::Indirect_In_Constant:
47-
Value = SILArgumentConvention::Indirect_In_Constant;
48-
return;
4945
case ParameterConvention::Indirect_Inout:
5046
Value = SILArgumentConvention::Indirect_Inout;
5147
return;
@@ -81,7 +77,6 @@ struct SILArgumentConvention {
8177
return true;
8278
case SILArgumentConvention::Indirect_In_Guaranteed:
8379
case SILArgumentConvention::Indirect_In:
84-
case SILArgumentConvention::Indirect_In_Constant:
8580
case SILArgumentConvention::Indirect_Out:
8681
case SILArgumentConvention::Direct_Unowned:
8782
case SILArgumentConvention::Direct_Owned:
@@ -94,7 +89,6 @@ struct SILArgumentConvention {
9489
bool isOwnedConvention() const {
9590
switch (Value) {
9691
case SILArgumentConvention::Indirect_In:
97-
case SILArgumentConvention::Indirect_In_Constant:
9892
case SILArgumentConvention::Direct_Owned:
9993
return true;
10094
case SILArgumentConvention::Indirect_In_Guaranteed:
@@ -115,7 +109,6 @@ struct SILArgumentConvention {
115109
return true;
116110
case SILArgumentConvention::Indirect_Inout:
117111
case SILArgumentConvention::Indirect_In:
118-
case SILArgumentConvention::Indirect_In_Constant:
119112
case SILArgumentConvention::Indirect_Out:
120113
case SILArgumentConvention::Indirect_InoutAliasable:
121114
case SILArgumentConvention::Direct_Unowned:
@@ -129,7 +122,6 @@ struct SILArgumentConvention {
129122
bool isExclusiveIndirectParameter() {
130123
switch (Value) {
131124
case SILArgumentConvention::Indirect_In:
132-
case SILArgumentConvention::Indirect_In_Constant:
133125
case SILArgumentConvention::Indirect_Out:
134126
case SILArgumentConvention::Indirect_In_Guaranteed:
135127
case SILArgumentConvention::Indirect_Inout:

include/swift/SIL/SILBridging.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ typedef enum {
186186

187187
typedef enum {
188188
ArgumentConvention_Indirect_In,
189-
ArgumentConvention_Indirect_In_Constant,
190189
ArgumentConvention_Indirect_In_Guaranteed,
191190
ArgumentConvention_Indirect_Inout,
192191
ArgumentConvention_Indirect_InoutAliasable,

include/swift/SIL/SILFunctionConventions.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,6 @@ inline bool SILModuleConventions::isIndirectSILParam(SILParameterInfo param,
519519
return false;
520520

521521
case ParameterConvention::Indirect_In:
522-
case ParameterConvention::Indirect_In_Constant:
523522
case ParameterConvention::Indirect_In_Guaranteed:
524523
return (loweredAddresses ||
525524
param.getInterfaceType()->isOpenedExistentialWithError());

lib/AST/ASTDemangler.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,8 @@ static ParameterConvention
422422
getParameterConvention(ImplParameterConvention conv) {
423423
switch (conv) {
424424
case Demangle::ImplParameterConvention::Indirect_In:
425-
return ParameterConvention::Indirect_In;
426425
case Demangle::ImplParameterConvention::Indirect_In_Constant:
427-
return ParameterConvention::Indirect_In_Constant;
426+
return ParameterConvention::Indirect_In;
428427
case Demangle::ImplParameterConvention::Indirect_In_Guaranteed:
429428
return ParameterConvention::Indirect_In_Guaranteed;
430429
case Demangle::ImplParameterConvention::Indirect_Inout:

lib/AST/ASTMangler.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1861,8 +1861,6 @@ static char getParamConvention(ParameterConvention conv) {
18611861
// different places.
18621862
switch (conv) {
18631863
case ParameterConvention::Indirect_In: return 'i';
1864-
case ParameterConvention::Indirect_In_Constant:
1865-
return 'c';
18661864
case ParameterConvention::Indirect_Inout: return 'l';
18671865
case ParameterConvention::Indirect_InoutAliasable: return 'b';
18681866
case ParameterConvention::Indirect_In_Guaranteed: return 'n';

lib/AST/ASTPrinter.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6197,7 +6197,6 @@ class TypePrinter : public TypeVisitor<TypePrinter> {
61976197
Printer << "@callee_guaranteed ";
61986198
return;
61996199
case ParameterConvention::Indirect_In:
6200-
case ParameterConvention::Indirect_In_Constant:
62016200
case ParameterConvention::Indirect_Inout:
62026201
case ParameterConvention::Indirect_InoutAliasable:
62036202
case ParameterConvention::Indirect_In_Guaranteed:
@@ -6815,8 +6814,6 @@ std::string GenericSignature::getAsString() const {
68156814
static StringRef getStringForParameterConvention(ParameterConvention conv) {
68166815
switch (conv) {
68176816
case ParameterConvention::Indirect_In: return "@in ";
6818-
case ParameterConvention::Indirect_In_Constant:
6819-
return "@in_constant ";
68206817
case ParameterConvention::Indirect_In_Guaranteed: return "@in_guaranteed ";
68216818
case ParameterConvention::Indirect_Inout: return "@inout ";
68226819
case ParameterConvention::Indirect_InoutAliasable: return "@inout_aliasable ";

lib/IRGen/GenCall.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,6 @@ const TypeInfo &SignatureExpansion::expand(SILParameterInfo param) {
15331533
auto &ti = IGM.getTypeInfo(paramSILType);
15341534
switch (auto conv = param.getConvention()) {
15351535
case ParameterConvention::Indirect_In:
1536-
case ParameterConvention::Indirect_In_Constant:
15371536
case ParameterConvention::Indirect_In_Guaranteed:
15381537
addIndirectValueParameterAttributes(IGM, Attrs, ti, ParamIRTypes.size());
15391538
addPointerParameter(IGM.getStorageType(getSILFuncConventions().getSILType(

lib/IRGen/GenDistributed.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,7 @@ void DistributedAccessor::decodeArgument(unsigned argumentIdx,
459459
}
460460

461461
switch (param.getConvention()) {
462-
case ParameterConvention::Indirect_In:
463-
case ParameterConvention::Indirect_In_Constant: {
462+
case ParameterConvention::Indirect_In: {
464463
// The only way to load opaque type is to allocate a temporary
465464
// variable on the stack for it and initialize from the given address
466465
// either at +0 or +1 depending on convention.

lib/IRGen/GenFunc.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,6 @@ CanType irgen::getArgumentLoweringType(CanType type, SILParameterInfo paramInfo,
707707
// closures don't take ownership of their arguments so we just capture the
708708
// address.
709709
case ParameterConvention::Indirect_In:
710-
case ParameterConvention::Indirect_In_Constant:
711710
case ParameterConvention::Indirect_In_Guaranteed:
712711
if (isNoEscape)
713712
return CanInOutType::get(type);
@@ -1341,7 +1340,6 @@ static llvm::Value *emitPartialApplicationForwarder(IRGenModule &IGM,
13411340
case ParameterConvention::Indirect_Inout:
13421341
case ParameterConvention::Indirect_InoutAliasable:
13431342
case ParameterConvention::Indirect_In:
1344-
case ParameterConvention::Indirect_In_Constant:
13451343
case ParameterConvention::Indirect_In_Guaranteed:
13461344
llvm_unreachable("indirect callables not supported");
13471345
}
@@ -1450,7 +1448,6 @@ static llvm::Value *emitPartialApplicationForwarder(IRGenModule &IGM,
14501448
auto argConvention = conventions[nextCapturedField++];
14511449
switch (argConvention) {
14521450
case ParameterConvention::Indirect_In:
1453-
case ParameterConvention::Indirect_In_Constant:
14541451
case ParameterConvention::Direct_Owned:
14551452
if (!consumesContext) subIGF.emitNativeStrongRetain(rawData, subIGF.getDefaultAtomicity());
14561453
break;
@@ -1538,8 +1535,7 @@ static llvm::Value *emitPartialApplicationForwarder(IRGenModule &IGM,
15381535

15391536
Explosion param;
15401537
switch (fieldConvention) {
1541-
case ParameterConvention::Indirect_In:
1542-
case ParameterConvention::Indirect_In_Constant: {
1538+
case ParameterConvention::Indirect_In: {
15431539

15441540
auto initStackCopy = [&addressesToDeallocate, &needsAllocas, &param,
15451541
&subIGF](const TypeInfo &fieldTI, SILType fieldTy,
@@ -2095,7 +2091,6 @@ Optional<StackAddress> irgen::emitFunctionPartialApplication(
20952091
switch (argConventions[i]) {
20962092
// Take indirect value arguments out of memory.
20972093
case ParameterConvention::Indirect_In:
2098-
case ParameterConvention::Indirect_In_Constant:
20992094
case ParameterConvention::Indirect_In_Guaranteed: {
21002095
if (outType->isNoEscape()) {
21012096
cast<LoadableTypeInfo>(fieldLayout.getType())

lib/IRGen/GenObjC.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,6 @@ static llvm::Function *emitObjCPartialApplicationForwarder(IRGenModule &IGM,
913913
break;
914914
case ParameterConvention::Indirect_In_Guaranteed:
915915
case ParameterConvention::Indirect_In:
916-
case ParameterConvention::Indirect_In_Constant:
917916
case ParameterConvention::Indirect_Inout:
918917
case ParameterConvention::Indirect_InoutAliasable:
919918
llvm_unreachable("self passed indirectly?!");

lib/IRGen/GenProto.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ void PolymorphicConvention::considerParameter(SILParameterInfo param,
398398
// we don't bother, for no good reason. But if this is 'self',
399399
// consider passing an extra metatype.
400400
case ParameterConvention::Indirect_In:
401-
case ParameterConvention::Indirect_In_Constant:
402401
case ParameterConvention::Indirect_In_Guaranteed:
403402
case ParameterConvention::Indirect_Inout:
404403
case ParameterConvention::Indirect_InoutAliasable:

lib/IRGen/IRGenSIL.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3546,7 +3546,6 @@ static bool isSimplePartialApply(IRGenFunction &IGF, PartialApplyInst *i) {
35463546
// direct or indirect.
35473547
switch (appliedParam.getConvention()) {
35483548
case ParameterConvention::Indirect_Inout:
3549-
case ParameterConvention::Indirect_In_Constant:
35503549
case ParameterConvention::Indirect_In_Guaranteed:
35513550
case ParameterConvention::Indirect_InoutAliasable:
35523551
// Indirect arguments are trivially word sized.

lib/IRGen/LoadableByAddress.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ SILParameterInfo LargeSILTypeMapper::getNewParameter(GenericEnvironment *env,
407407
param.getDifferentiability());
408408
else
409409
return SILParameterInfo(storageType.getASTType(),
410-
ParameterConvention::Indirect_In_Constant,
410+
ParameterConvention::Indirect_In,
411411
param.getDifferentiability());
412412
} else {
413413
auto newType = getNewSILType(env, storageType, IGM);

lib/SIL/IR/OperandOwnership.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,6 @@ static OperandOwnership getFunctionArgOwnership(SILArgumentConvention argConv,
454454

455455
switch (argConv) {
456456
case SILArgumentConvention::Indirect_In:
457-
case SILArgumentConvention::Indirect_In_Constant:
458457
case SILArgumentConvention::Direct_Owned:
459458
return OperandOwnership::ForwardingConsume;
460459

lib/SIL/IR/SILFunctionType.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,6 @@ static CanSILFunctionType getAutoDiffPullbackType(
711711
break;
712712
case ParameterConvention::Indirect_In:
713713
case ParameterConvention::Indirect_Inout:
714-
case ParameterConvention::Indirect_In_Constant:
715714
case ParameterConvention::Indirect_In_Guaranteed:
716715
case ParameterConvention::Indirect_InoutAliasable:
717716
conv = ResultConvention::Indirect;
@@ -1002,7 +1001,6 @@ CanSILFunctionType SILFunctionType::getAutoDiffTransposeFunctionType(
10021001
break;
10031002
case ParameterConvention::Indirect_In:
10041003
case ParameterConvention::Indirect_Inout:
1005-
case ParameterConvention::Indirect_In_Constant:
10061004
case ParameterConvention::Indirect_In_Guaranteed:
10071005
case ParameterConvention::Indirect_InoutAliasable:
10081006
newConv = ResultConvention::Indirect;

lib/SIL/IR/SILPrinter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,6 @@ class SILPrinter : public SILInstructionVisitor<SILPrinter> {
14871487
// Should not apply to callees.
14881488
case ParameterConvention::Direct_Unowned:
14891489
case ParameterConvention::Indirect_In:
1490-
case ParameterConvention::Indirect_In_Constant:
14911490
case ParameterConvention::Indirect_Inout:
14921491
case ParameterConvention::Indirect_In_Guaranteed:
14931492
case ParameterConvention::Indirect_InoutAliasable:

lib/SIL/IR/SILValue.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ ValueOwnershipKind::ValueOwnershipKind(const SILFunction &F, SILType Type,
215215

216216
switch (Convention) {
217217
case SILArgumentConvention::Indirect_In:
218-
case SILArgumentConvention::Indirect_In_Constant:
219218
value = moduleConventions.useLoweredAddresses() ? OwnershipKind::None
220219
: OwnershipKind::Owned;
221220
break;

lib/SIL/Utils/MemAccessUtils.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2104,7 +2104,6 @@ bool GatherUniqueStorageUses::visitUse(Operand *use, AccessUseType useTy) {
21042104
&UniqueStorageUseVisitor::visitStore);
21052105
case SILArgumentConvention::Indirect_In_Guaranteed:
21062106
case SILArgumentConvention::Indirect_In:
2107-
case SILArgumentConvention::Indirect_In_Constant:
21082107
return visitApplyOperand(use, visitor,
21092108
&UniqueStorageUseVisitor::visitLoad);
21102109
case SILArgumentConvention::Direct_Unowned:

lib/SIL/Utils/MemoryLocations.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ void MemoryLocations::analyzeLocations(SILFunction *function) {
147147
SILFunctionArgument *funcArg = cast<SILFunctionArgument>(arg);
148148
switch (funcArg->getArgumentConvention()) {
149149
case SILArgumentConvention::Indirect_In:
150-
case SILArgumentConvention::Indirect_In_Constant:
151150
case SILArgumentConvention::Indirect_In_Guaranteed:
152151
case SILArgumentConvention::Indirect_Out:
153152
// These are not SIL addresses under -enable-sil-opaque-values

lib/SIL/Utils/SILBridging.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ BridgedArgumentConvention SILArgumentConvention_getBridged(SILArgumentConvention
214214
return ArgumentConvention_Indirect_In_Guaranteed;
215215
case SILArgumentConvention::Indirect_In:
216216
return ArgumentConvention_Indirect_In;
217-
case SILArgumentConvention::Indirect_In_Constant:
218-
return ArgumentConvention_Indirect_In_Constant;
219217
case SILArgumentConvention::Indirect_Out:
220218
return ArgumentConvention_Indirect_Out;
221219
case SILArgumentConvention::Direct_Unowned:
@@ -392,8 +390,6 @@ static BridgedArgumentConvention bridgeArgumentConvention(SILArgumentConvention
392390
return ArgumentConvention_Indirect_In_Guaranteed;
393391
case SILArgumentConvention::Indirect_In:
394392
return ArgumentConvention_Indirect_In;
395-
case SILArgumentConvention::Indirect_In_Constant:
396-
return ArgumentConvention_Indirect_In_Constant;
397393
case SILArgumentConvention::Indirect_Out:
398394
return ArgumentConvention_Indirect_Out;
399395
case SILArgumentConvention::Direct_Unowned:

0 commit comments

Comments
 (0)