From: Devang Patel Date: Tue, 6 Jul 2010 21:05:17 +0000 (+0000) Subject: Add fixme. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6db2389d694a5cd8560bc47676a7f3aeba928e73;p=oota-llvm.git Add fixme. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107697 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Metadata.cpp b/lib/VMCore/Metadata.cpp index b894ea30aa9..1d3a0586930 100644 --- 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)) {