Get rid of an unnecessary use of the * and & operators.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204673 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adrian Prantl 2014-03-24 21:33:01 +00:00
parent 882d89ead8
commit 1b14452fe4

View File

@ -980,7 +980,7 @@ DIE *DwarfUnit::getOrCreateTypeDIE(const MDNode *TyNode) {
DIType Ty(TyNode);
assert(Ty.isType());
assert(*&Ty == resolve(Ty.getRef()) &&
assert(Ty == resolve(Ty.getRef()) &&
"type was not uniqued, possible ODR violation.");
// Construct the context before querying for the existence of the DIE in case