mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Remove a dead field, make the map go to integer type ID to hash better and
avoid a getType. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18691 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -102,7 +102,7 @@ public:
|
||||
/// This map is needed so that forward references to constants can be looked
|
||||
/// up by Type and slot number when resolving those references.
|
||||
/// @brief A mapping of a Type/slot pair to a Constant*.
|
||||
typedef std::map<std::pair<const Type*,unsigned>, Constant*> ConstantRefsType;
|
||||
typedef std::map<std::pair<unsigned,unsigned>, Constant*> ConstantRefsType;
|
||||
|
||||
/// For lazy read-in of functions, we need to save the location in the
|
||||
/// data stream where the function is located. This structure provides that
|
||||
@@ -453,7 +453,7 @@ private:
|
||||
|
||||
/// @brief Resolve all references to the placeholder (if any) for the
|
||||
/// given constant.
|
||||
void ResolveReferencesToConstant(Constant *C, unsigned Slot);
|
||||
void ResolveReferencesToConstant(Constant *C, unsigned Typ, unsigned Slot);
|
||||
|
||||
/// @brief Release our memory.
|
||||
void freeState() {
|
||||
|
||||
Reference in New Issue
Block a user