From c4856f37f0c59386368e1fc5313a0ac88baedb7b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 5 Nov 2003 19:09:40 +0000 Subject: [PATCH] If we're not checking, don't check! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9732 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Value.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index d11abc10cb4..709ae3e9aed 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -66,7 +66,7 @@ void Value::uncheckedReplaceAllUsesWith(Value *New) { // Must handle Constants specially, we cannot call replaceUsesOfWith on a // constant! if (Constant *C = dyn_cast(U.getUser())) { - C->replaceUsesOfWithOnConstant(this, New); + C->replaceUsesOfWithOnConstant(this, New, true); } else { U.set(New); } -- 2.34.1