mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-18 10:24:45 +00:00
AddressPool::HasBeenUsed: Add comment explaining the use-case for this flag.
Based on code review by Eric Christopher on r207323 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207460 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -26,6 +26,11 @@ class AddressPool {
|
|||||||
AddressPoolEntry(unsigned Number, bool TLS) : Number(Number), TLS(TLS) {}
|
AddressPoolEntry(unsigned Number, bool TLS) : Number(Number), TLS(TLS) {}
|
||||||
};
|
};
|
||||||
DenseMap<const MCSymbol *, AddressPoolEntry> Pool;
|
DenseMap<const MCSymbol *, AddressPoolEntry> Pool;
|
||||||
|
|
||||||
|
/// Record whether the AddressPool has been queried for an address index since
|
||||||
|
/// the last "resetUsedFlag" call. Used to implement type unit fallback - a
|
||||||
|
/// type that references addresses cannot be placed in a type unit when using
|
||||||
|
/// fission.
|
||||||
bool HasBeenUsed;
|
bool HasBeenUsed;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user