add assert in argpromotion, which cannot trigger
authorGabor Greif <ggreif@gmail.com>
Tue, 23 Mar 2010 14:40:20 +0000 (14:40 +0000)
committerGabor Greif <ggreif@gmail.com>
Tue, 23 Mar 2010 14:40:20 +0000 (14:40 +0000)
commit0054c7a867f85f52fdcc11279d696160de92c9f8
treec2a6196deeb8bfeda0d5a3abf072cae3b6463a9d
parent050560e535fe10b59ba608f19b43cfecd02c75b7
add assert in argpromotion, which cannot trigger
if Function::hasAddressTaken works as advertised

also included some cosmetic cleanups

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99276 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/ArgumentPromotion.cpp
lib/VMCore/Function.cpp