SIL: change SILModule's scheduledForDeletion from a double linked list to a std::vector

This commit is contained in:
Erik Eckstein
2022-12-02 18:58:06 +01:00
parent 3b94b60420
commit d8c2e8ae77
2 changed files with 7 additions and 7 deletions

View File

@@ -217,7 +217,7 @@ private:
/// This avoids dangling instruction pointers within the run of a pass and in
/// analysis caches. Note that the analysis invalidation mechanism ensures
/// that analysis caches are invalidated before flushDeletedInsts().
llvm::iplist<SILInstruction> scheduledForDeletion;
std::vector<SILInstruction*> scheduledForDeletion;
/// The swift Module associated with this SILModule.
ModuleDecl *TheSwiftModule;