We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e4bb4b commit 64161c3Copy full SHA for 64161c3
lib/SIL/SILBasicBlock.cpp
@@ -75,12 +75,12 @@ void SILBasicBlock::push_front(SILInstruction *I) {
75
}
76
77
void SILBasicBlock::remove(SILInstruction *I) {
78
- // Notify the delete handlers that this instruction is going away.
79
- getModule().notifyDeleteHandlers(&*I);
80
InstList.remove(I);
81
82
83
void SILBasicBlock::erase(SILInstruction *I) {
+ // Notify the delete handlers that this instruction is going away.
+ getModule().notifyDeleteHandlers(&*I);
84
InstList.erase(I);
85
86
0 commit comments