projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fca82de
)
Properly propagate Kind.
author
Anton Korobeynikov
<asl@math.spbu.ru>
Mon, 30 Mar 2009 15:28:00 +0000
(15:28 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Mon, 30 Mar 2009 15:28:00 +0000
(15:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68033
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Constants.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Constants.cpp
b/lib/VMCore/Constants.cpp
index 62b3a0c69162db4937c57c19775af04419c10410..72197e6203c476fa53a2f2df1ba3838d5dea5ad6 100644
(file)
--- a/
lib/VMCore/Constants.cpp
+++ b/
lib/VMCore/Constants.cpp
@@
-110,7
+110,7
@@
bool Constant::ContainsRelocations(unsigned Kind) const {
}
for (unsigned i = 0, e = getNumOperands(); i != e; ++i)
- if (getOperand(i)->ContainsRelocations())
+ if (getOperand(i)->ContainsRelocations(
Kind
))
return true;
return false;