[llvm] r204673 - Get rid of an unnecessary use of the * and & operators.

Adrian Prantl aprantl at apple.com
Mon Mar 24 14:33:01 PDT 2014


Author: adrian
Date: Mon Mar 24 16:33:01 2014
New Revision: 204673

URL: http://llvm.org/viewvc/llvm-project?rev=204673&view=rev
Log:
Get rid of an unnecessary use of the * and & operators.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp?rev=204673&r1=204672&r2=204673&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp Mon Mar 24 16:33:01 2014
@@ -980,7 +980,7 @@ DIE *DwarfUnit::getOrCreateTypeDIE(const
 
   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





More information about the llvm-commits mailing list