[llvm-commits] [llvm] r68033 - /llvm/trunk/lib/VMCore/Constants.cpp
Anton Korobeynikov
asl at math.spbu.ru
Mon Mar 30 08:28:00 PDT 2009
Author: asl
Date: Mon Mar 30 10:28:00 2009
New Revision: 68033
URL: http://llvm.org/viewvc/llvm-project?rev=68033&view=rev
Log:
Properly propagate Kind.
Modified:
llvm/trunk/lib/VMCore/Constants.cpp
Modified: llvm/trunk/lib/VMCore/Constants.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Constants.cpp?rev=68033&r1=68032&r2=68033&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Constants.cpp (original)
+++ llvm/trunk/lib/VMCore/Constants.cpp Mon Mar 30 10:28:00 2009
@@ -110,7 +110,7 @@
}
for (unsigned i = 0, e = getNumOperands(); i != e; ++i)
- if (getOperand(i)->ContainsRelocations())
+ if (getOperand(i)->ContainsRelocations(Kind))
return true;
return false;
More information about the llvm-commits
mailing list