[llvm-commits] [llvm] r107697 - /llvm/trunk/lib/VMCore/Metadata.cpp
Devang Patel
dpatel at apple.com
Tue Jul 6 14:05:17 PDT 2010
Author: dpatel
Date: Tue Jul 6 16:05:17 2010
New Revision: 107697
URL: http://llvm.org/viewvc/llvm-project?rev=107697&view=rev
Log:
Add fixme.
Modified:
llvm/trunk/lib/VMCore/Metadata.cpp
Modified: llvm/trunk/lib/VMCore/Metadata.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Metadata.cpp?rev=107697&r1=107696&r2=107697&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Metadata.cpp (original)
+++ llvm/trunk/lib/VMCore/Metadata.cpp Tue Jul 6 16:05:17 2010
@@ -133,6 +133,7 @@
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)) {
More information about the llvm-commits
mailing list