Remove usage of use_size()

llvm-svn: 9134
This commit is contained in:
Chris Lattner 2003-10-15 16:43:24 +00:00
parent f77a856f3b
commit 30c715b30b
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ inline std::ostream &operator<<(std::ostream &o, const InstForest<Payload> &IF){
//
template <class Payload>
bool InstTreeNode<Payload>::CanMergeInstIntoTree(Instruction *I) {
if (I->use_size() > 1) return false;
if (!I->use_empty() && !I->hasOneUse()) return false;
return I->getParent() == cast<Instruction>(getValue())->getParent();
}