diff options
author | Devang Patel <dpatel@apple.com> | 2010-07-06 21:05:17 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-07-06 21:05:17 +0000 |
commit | b36df17b086bbb1a8a2adcfa3d7024d342f25d47 (patch) | |
tree | 9be1592d8cf86bc02dfe993f1760f9499621e3a0 /llvm/lib/VMCore/Metadata.cpp | |
parent | 5eff9ca26ec974c0e2a2d8267db2ee4f3d261edd (diff) | |
download | bcm5719-llvm-b36df17b086bbb1a8a2adcfa3d7024d342f25d47.tar.gz bcm5719-llvm-b36df17b086bbb1a8a2adcfa3d7024d342f25d47.zip |
Add fixme.
llvm-svn: 107697
Diffstat (limited to 'llvm/lib/VMCore/Metadata.cpp')
-rw-r--r-- | llvm/lib/VMCore/Metadata.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Metadata.cpp b/llvm/lib/VMCore/Metadata.cpp index b894ea30aa9..1d3a0586930 100644 --- a/llvm/lib/VMCore/Metadata.cpp +++ b/llvm/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)) { |