diff options
Diffstat (limited to 'llvm/lib/VMCore/LLVMContextImpl.h')
| -rw-r--r-- | llvm/lib/VMCore/LLVMContextImpl.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/llvm/lib/VMCore/LLVMContextImpl.h b/llvm/lib/VMCore/LLVMContextImpl.h index 06a6f2a25a3..a3f68fecbbf 100644 --- a/llvm/lib/VMCore/LLVMContextImpl.h +++ b/llvm/lib/VMCore/LLVMContextImpl.h @@ -42,8 +42,8 @@ class Value;  struct DenseMapAPIntKeyInfo {    struct KeyTy {      APInt val; -    const Type* type; -    KeyTy(const APInt& V, const Type* Ty) : val(V), type(Ty) {} +    Type* type; +    KeyTy(const APInt& V, Type* Ty) : val(V), type(Ty) {}      KeyTy(const KeyTy& that) : val(that.val), type(that.type) {}      bool operator==(const KeyTy& that) const {        return type == that.type && this->val == that.val; | 

