projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert r133513:
[oota-llvm.git]
/
lib
/
VMCore
/
Value.cpp
diff --git
a/lib/VMCore/Value.cpp
b/lib/VMCore/Value.cpp
index a03cddc9d5e40084af79b77573cb9cda08c80fdf..29f6a8094f0bb258888e060b455c5e8ecc2e2538 100644
(file)
--- a/
lib/VMCore/Value.cpp
+++ b/
lib/VMCore/Value.cpp
@@
-305,9
+305,6
@@
void Value::uncheckedReplaceAllUsesWith(Value *New) {
U.set(New);
}
-
- if (BasicBlock *BB = dyn_cast<BasicBlock>(this))
- BB->replaceSuccessorsPhiUsesWith(cast<BasicBlock>(New));
}
void Value::replaceAllUsesWith(Value *New) {