summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-03-24 21:33:01 +0000
committerAdrian Prantl <aprantl@apple.com>2014-03-24 21:33:01 +0000
commitc95ec91e2a2e0166a281071f8b0fcf7eec665af3 (patch)
tree14b10b6880c41a1a58590a63751c1da7d50639b0 /llvm
parent96dea0581e5a37ef414eb39a09a70599925c0306 (diff)
downloadbcm5719-llvm-c95ec91e2a2e0166a281071f8b0fcf7eec665af3.tar.gz
bcm5719-llvm-c95ec91e2a2e0166a281071f8b0fcf7eec665af3.zip
Get rid of an unnecessary use of the * and & operators.
llvm-svn: 204673
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
index 86005cd3d80..eaf0a17f052 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
@@ -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
OpenPOWER on IntegriCloud