File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
lib/SILOptimizer/Mandatory Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -155,13 +155,6 @@ enum PMOUseKind {
155
155
// / This instruction is a general escape of the value, e.g. a call to a
156
156
// / closure that captures it.
157
157
Escape,
158
-
159
- // / This instruction is a call to 'super.init' in a 'self' initializer of a
160
- // / derived class.
161
- SuperInit,
162
-
163
- // / This instruction is a call to 'self.init' in a delegating initializer.
164
- SelfInit
165
158
};
166
159
167
160
// / This struct represents a single classified access to the memory object
Original file line number Diff line number Diff line change @@ -1250,9 +1250,6 @@ bool AllocOptimize::tryToRemoveDeadAllocation() {
1250
1250
if (U.Inst == nullptr ) continue ;
1251
1251
1252
1252
switch (U.Kind ) {
1253
- case PMOUseKind::SelfInit:
1254
- case PMOUseKind::SuperInit:
1255
- llvm_unreachable (" Can't happen on allocations" );
1256
1253
case PMOUseKind::Assign:
1257
1254
case PMOUseKind::PartialStore:
1258
1255
case PMOUseKind::InitOrAssign:
You can’t perform that action at this time.
0 commit comments