From 184f3b37e2a6812c647c2614613a9eebfe33247b Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Tue, 21 Jun 2011 02:09:03 +0000 Subject: Revert r133435 and r133449 to appease buildbots. llvm-svn: 133499 --- llvm/lib/VMCore/Value.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib/VMCore/Value.cpp') diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp index a03cddc9d5e..29f6a8094f0 100644 --- a/llvm/lib/VMCore/Value.cpp +++ b/llvm/lib/VMCore/Value.cpp @@ -305,9 +305,6 @@ void Value::uncheckedReplaceAllUsesWith(Value *New) { U.set(New); } - - if (BasicBlock *BB = dyn_cast(this)) - BB->replaceSuccessorsPhiUsesWith(cast(New)); } void Value::replaceAllUsesWith(Value *New) { -- cgit v1.2.3