diff options
Diffstat (limited to 'lib/Bytecode/Reader/Reader.h')
-rw-r--r-- | lib/Bytecode/Reader/Reader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/Reader.h b/lib/Bytecode/Reader/Reader.h index 3733523975..06e021d482 100644 --- a/lib/Bytecode/Reader/Reader.h +++ b/lib/Bytecode/Reader/Reader.h @@ -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() { |