SIL: bridge Function.isDeinitBarrier back from Swift to C++ SIL

This API already existed in Swift, but not in the C++ SIL.
This commit is contained in:
Erik Eckstein
2025-04-28 18:26:38 +02:00
parent 7dcb53005f
commit ffc17322f9
4 changed files with 20 additions and 2 deletions

View File

@@ -1218,6 +1218,8 @@ public:
// Used by the MemoryLifetimeVerifier
bool argumentMayRead(Operand *argOp, SILValue addr);
bool isDeinitBarrier();
Purpose getSpecialPurpose() const { return specialPurpose; }
/// Get this function's global_init attribute.