diff options
Diffstat (limited to 'include/llvm/ADT/ValueMap.h')
-rw-r--r-- | include/llvm/ADT/ValueMap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/ValueMap.h b/include/llvm/ADT/ValueMap.h index 121abc2b65..f7e255181e 100644 --- a/include/llvm/ADT/ValueMap.h +++ b/include/llvm/ADT/ValueMap.h @@ -269,7 +269,7 @@ struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config> > { return LHS == RHS; } static bool isEqual(const KeyT &LHS, const VH &RHS) { - return LHS == RHS; + return LHS == RHS.getValPtr(); } }; |