diff options
author | Devang Patel <dpatel@apple.com> | 2010-09-14 20:32:58 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-09-14 20:32:58 +0000 |
commit | 733290718620d989cde2e6a1c3e616aa39ae58d5 (patch) | |
tree | a791645ceff95d541f1b5460102637e871b6abaf | |
parent | 6fe75aaaeb6b0587d402228ba291c729a13eb6d7 (diff) |
After Dan's recent commit this is no longer true.
Now isFunctionLocal is reset, if required, when operands are modified.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113845 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Metadata.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index f5a80a3dce..a6c3f039a1 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; } |