mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[sil] Use SILNodes.def to define ARGKIND##ArrayRef instead of hard coding names.
I also changed all of the places that vended these to use SILNodes.def as well so that when new argument kinds are added, things just work.
This commit is contained in:
@@ -320,7 +320,7 @@ bool FunctionSignatureTransform::ArgumentExplosionAnalyzeParameters() {
|
||||
SILFunction *F = TransformDescriptor.OriginalFunction;
|
||||
// Did we decide we should optimize any parameter?
|
||||
bool SignatureOptimize = false;
|
||||
auto Args = F->begin()->getFunctionArguments();
|
||||
auto Args = F->begin()->getSILFunctionArguments();
|
||||
ConsumedArgToEpilogueReleaseMatcher ArgToReturnReleaseMap(
|
||||
RCIA->get(F), F, {SILArgumentConvention::Direct_Owned});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user