mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SIL: change SILModule's scheduledForDeletion from a double linked list to a std::vector
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user