[NFC] Return instruction from createScopeEnd.

This commit is contained in:
Nate Chandler
2024-12-06 13:39:27 -08:00
parent be88e7c9d9
commit c47c8ea72b
2 changed files with 7 additions and 7 deletions

View File

@@ -122,7 +122,8 @@ struct ScopedAddressValue {
AddressUseKind updateTransitiveLiveness(SSAPrunedLiveness &liveness) const;
/// Create appropriate scope ending instruction at \p insertPt.
void createScopeEnd(SILBasicBlock::iterator insertPt, SILLocation loc) const;
SILInstruction *createScopeEnd(SILBasicBlock::iterator insertPt,
SILLocation loc) const;
/// Create scope ending instructions at \p liveness boundary.
void endScopeAtLivenessBoundary(SSAPrunedLiveness *liveness) const;