From: Chris Lattner Date: Wed, 5 Nov 2003 19:09:40 +0000 (+0000) Subject: If we're not checking, don't check! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c4856f37f0c59386368e1fc5313a0ac88baedb7b;p=oota-llvm.git 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 --- 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); }