projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bcc70d
)
If we're not checking, don't check!
author
Chris Lattner
<sabre@nondot.org>
Wed, 5 Nov 2003 19:09:40 +0000
(19:09 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 5 Nov 2003 19:09:40 +0000
(19:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9732
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Value.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Value.cpp
b/lib/VMCore/Value.cpp
index d11abc10cb4f28412262fc1cab3fe25002dce27c..709ae3e9aeda4a146a206f866514045da3fbeded 100644
(file)
--- 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<Constant>(U.getUser())) {
- C->replaceUsesOfWithOnConstant(this, New);
+ C->replaceUsesOfWithOnConstant(this, New
, true
);
} else {
U.set(New);
}