Mercurial > hg > CbC > CbC_llvm
diff lib/CodeGen/UnreachableBlockElim.cpp @ 83:60c9769439b8 LLVM3.7
LLVM 3.7
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Feb 2015 14:55:36 +0900 |
parents | 54457678186b |
children | afa8332a0e37 |
line wrap: on
line diff
--- a/lib/CodeGen/UnreachableBlockElim.cpp Mon Sep 08 22:07:30 2014 +0900 +++ b/lib/CodeGen/UnreachableBlockElim.cpp Wed Feb 18 14:55:36 2015 +0900 @@ -88,7 +88,7 @@ DeadBlocks[i]->eraseFromParent(); } - return DeadBlocks.size(); + return !DeadBlocks.empty(); } @@ -204,5 +204,5 @@ F.RenumberBlocks(); - return (DeadBlocks.size() || ModifiedPHI); + return (!DeadBlocks.empty() || ModifiedPHI); }