summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-05 19:09:40 +0000
committerChris Lattner <sabre@nondot.org>2003-11-05 19:09:40 +0000
commite225507193ffbeea878bb13c5f656104b452b86c (patch)
tree54adc0eee7deae7a33cb4a45558fdef9e63ef1ab /llvm
parent7c94d1171ad7620245c53bd4b2843fb0be66485e (diff)
downloadbcm5719-llvm-e225507193ffbeea878bb13c5f656104b452b86c.tar.gz
bcm5719-llvm-e225507193ffbeea878bb13c5f656104b452b86c.zip
If we're not checking, don't check!
llvm-svn: 9732
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/Value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp
index d11abc10cb4..709ae3e9aed 100644
--- a/llvm/lib/VMCore/Value.cpp
+++ b/llvm/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<Constant>(U.getUser())) {
- C->replaceUsesOfWithOnConstant(this, New);
+ C->replaceUsesOfWithOnConstant(this, New, true);
} else {
U.set(New);
}
OpenPOWER on IntegriCloud