Get rid of an unnecessary use of the * and & operators.
authorAdrian Prantl <aprantl@apple.com>
Mon, 24 Mar 2014 21:33:01 +0000 (21:33 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 24 Mar 2014 21:33:01 +0000 (21:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204673 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfUnit.cpp

index 86005cd3d809b419bacec885ca392c55acd3c230..eaf0a17f052629bda841f97f724e1f77ccd7fe95 100644 (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