mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SILFunction: add getMemoryBehavior
This retrieves the side effect information from the function effects.
This commit is contained in:
@@ -1055,6 +1055,7 @@ public:
|
||||
void copyEffects(SILFunction *from);
|
||||
bool hasArgumentEffects() const;
|
||||
void visitArgEffects(std::function<void(int, int, bool)> c) const;
|
||||
SILInstruction::MemoryBehavior getMemoryBehavior(bool observeRetains);
|
||||
|
||||
Purpose getSpecialPurpose() const { return specialPurpose; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user