From a43a3f2379360a766725a4138ee9aff4df41b486 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 29 Dec 2009 02:53:52 +0000 Subject: 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 --- include/llvm/Metadata.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/llvm/Metadata.h') 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. -- cgit v1.2.3