mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: some improvements to the BasicBlockBitfield utilities
* add a BasicBlockSetVector class * add a second argument to BasicBlockFlag::set, for the set value. * rename BasicBlockSet::remove -> BasicBlockSet::erase. * add a MaxBitfieldID statistics value in SILFunction.cpp
This commit is contained in:
@@ -199,7 +199,7 @@ private:
|
||||
|
||||
/// A monotonically increasing ID which is incremented whenever a
|
||||
/// BasicBlockBitfield is constructed.
|
||||
/// Usually this stays below 1000, so a 32-bit unsigned is more than
|
||||
/// Usually this stays below 100000, so a 32-bit unsigned is more than
|
||||
/// sufficient.
|
||||
/// For details see BasicBlockBitfield::bitfieldID;
|
||||
unsigned currentBitfieldID = 1;
|
||||
|
||||
Reference in New Issue
Block a user