summaryrefslogtreecommitdiff
path: root/include/llvm/Metadata.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-29 02:53:52 +0000
committerChris Lattner <sabre@nondot.org>2009-12-29 02:53:52 +0000
commita43a3f2379360a766725a4138ee9aff4df41b486 (patch)
tree82e3170f538d3252efa5f417704375699fceee99 /include/llvm/Metadata.h
parentb2406d9895314cbc61183c2fb712cd1a2ddfe7e0 (diff)
downloadllvm-a43a3f2379360a766725a4138ee9aff4df41b486.tar.gz
llvm-a43a3f2379360a766725a4138ee9aff4df41b486.tar.bz2
llvm-a43a3f2379360a766725a4138ee9aff4df41b486.tar.xz
When doing v1->RAUW(v2), don't do anything to metadata. We don't know
why one was replaced with the other. Even in the specific case of debug information, it doesn't make sense to transfer the location over, this will just result in jumbled loc info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92241 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Metadata.h')
-rw-r--r--include/llvm/Metadata.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h
index e63460842e..1f185369a8 100644
--- a/include/llvm/Metadata.h
+++ b/include/llvm/Metadata.h
@@ -234,9 +234,7 @@ public:
/// ValueIsDeleted - This handler is used to update metadata store
/// when a value is deleted.
- void ValueIsDeleted(const Value *) {}
void ValueIsDeleted(Instruction *Inst);
- void ValueIsRAUWd(Value *V1, Value *V2);
/// ValueIsCloned - This handler is used to update metadata store
/// when In1 is cloned to create In2.