mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SIL] Add SILFunctionType flag for async.
This commit is contained in:
@@ -501,6 +501,8 @@ public:
|
||||
IsWithoutActuallyEscapingThunk = val;
|
||||
}
|
||||
|
||||
bool isAsync() const { return LoweredType->isAsync(); }
|
||||
|
||||
/// Returns the calling convention used by this entry point.
|
||||
SILFunctionTypeRepresentation getRepresentation() const {
|
||||
return getLoweredFunctionType()->getRepresentation();
|
||||
|
||||
Reference in New Issue
Block a user