use CallSite to access calls vs. invokes uniformly
authorGabor Greif <ggreif@gmail.com>
Tue, 6 Apr 2010 18:45:08 +0000 (18:45 +0000)
committerGabor Greif <ggreif@gmail.com>
Tue, 6 Apr 2010 18:45:08 +0000 (18:45 +0000)
commitfa1f5c22c5186d1055343aae74224a6637b831b2
treec96300b9bf4c61502d18b6e1e6863fdbc79f4af0
parent779804353d40dff90fea50cda57e18f459b66f5f
use CallSite to access calls vs. invokes uniformly
and remove assumptions about operand order

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