[llvm-commits] [llvm] r109031 - /llvm/trunk/lib/VMCore/Verifier.cpp
Dan Gohman
gohman at apple.com
Wed Jul 21 13:25:43 PDT 2010
Author: djg
Date: Wed Jul 21 15:25:43 2010
New Revision: 109031
URL: http://llvm.org/viewvc/llvm-project?rev=109031&view=rev
Log:
NamedMDNode is never an operand.
Modified:
llvm/trunk/lib/VMCore/Verifier.cpp
Modified: llvm/trunk/lib/VMCore/Verifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Verifier.cpp?rev=109031&r1=109030&r2=109031&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Verifier.cpp (original)
+++ llvm/trunk/lib/VMCore/Verifier.cpp Wed Jul 21 15:25:43 2010
@@ -520,7 +520,7 @@
Value *Op = MD.getOperand(i);
if (!Op)
continue;
- if (isa<Constant>(Op) || isa<MDString>(Op) || isa<NamedMDNode>(Op))
+ if (isa<Constant>(Op) || isa<MDString>(Op))
continue;
if (MDNode *N = dyn_cast<MDNode>(Op)) {
Assert2(MD.isFunctionLocal() || !N->isFunctionLocal(),
More information about the llvm-commits
mailing list