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:
211244a
)
Add fixme.
author
Devang Patel
<dpatel@apple.com>
Tue, 6 Jul 2010 21:05:17 +0000
(21:05 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 6 Jul 2010 21:05:17 +0000
(21:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107697
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Metadata.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Metadata.cpp
b/lib/VMCore/Metadata.cpp
index b894ea30aa981b138647723f79673dcb87b42acb..1d3a058693035d61fcab06b6dbe8c8e7cd01da04 100644
(file)
--- a/
lib/VMCore/Metadata.cpp
+++ b/
lib/VMCore/Metadata.cpp
@@
-133,6
+133,7
@@
static const Function *getFunctionForValue(Value *V) {
static const Function *assertLocalFunction(const MDNode *N) {
if (!N->isFunctionLocal()) return 0;
+ // FIXME: This does not handle cyclic function local metadata.
const Function *F = 0, *NewF = 0;
for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) {
if (Value *V = N->getOperand(i)) {