fix crash when the malloc/free function is defined or is a declaration with 0 parameters.
authorNuno Lopes <nunoplopes@sapo.pt>
Sat, 6 Sep 2008 17:44:06 +0000 (17:44 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Sat, 6 Sep 2008 17:44:06 +0000 (17:44 +0000)
commitb9baf3167908fc56f7ed49d0b31fe25237bca841
tree91288e297cbade5f5b211fa7fc268e45f4a4751c
parentfec2c2bf5ea14679f8a2d74a72bdec76f05fa001
fix crash when the malloc/free function is defined or is a declaration with 0 parameters.
this pass doesnt seem to be used, but still it's now a little more correct

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