From 7e5ba98681b27019fa7935e7ea8a9d81a8e9ecb6 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 14 Sep 2010 20:32:58 +0000 Subject: [PATCH] After Dan's recent commit this is no longer true. Now isFunctionLocal is reset, if required, when operands are modified. llvm-svn: 113845 --- include/llvm/Metadata.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index f5a80a3dced..a6c3f039a11 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -144,9 +144,6 @@ public: unsigned getNumOperands() const { return NumOperands; } /// isFunctionLocal - Return whether MDNode is local to a function. - /// Note: MDNodes are designated as function-local when created, and keep - /// that designation even if their operands are modified to no longer - /// refer to function-local IR. bool isFunctionLocal() const { return (getSubclassDataFromValue() & FunctionLocalBit) != 0; }