mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rename weak_retain to unowned_retain and change it to
require the correct [unowned] type as an argument. Swift SVN r6825
This commit is contained in:
@@ -663,11 +663,11 @@ public:
|
||||
void visitReleaseInst(ReleaseInst *RI) {
|
||||
OS << "release " << getIDAndType(RI->getOperand());
|
||||
}
|
||||
void visitWeakRetainInst(WeakRetainInst *RI) {
|
||||
OS << "weak_retain " << getIDAndType(RI->getOperand());
|
||||
void visitUnownedRetainInst(UnownedRetainInst *RI) {
|
||||
OS << "unowned_retain " << getIDAndType(RI->getOperand());
|
||||
}
|
||||
void visitWeakReleaseInst(WeakReleaseInst *RI) {
|
||||
OS << "weak_release " << getIDAndType(RI->getOperand());
|
||||
void visitUnownedReleaseInst(UnownedReleaseInst *RI) {
|
||||
OS << "unowned_release " << getIDAndType(RI->getOperand());
|
||||
}
|
||||
void visitDeallocStackInst(DeallocStackInst *DI) {
|
||||
OS << "dealloc_stack " << getIDAndType(DI->getOperand());
|
||||
|
||||
Reference in New Issue
Block a user