Use getIntrinsicID instead of looking up intrinsic prototypes. Also
authorGordon Henriksen <gordonhenriksen@mac.com>
Sat, 22 Dec 2007 17:27:01 +0000 (17:27 +0000)
committerGordon Henriksen <gordonhenriksen@mac.com>
Sat, 22 Dec 2007 17:27:01 +0000 (17:27 +0000)
commita6c99250877dad280fbd59480463bd9f91740187
treebc365ceab456fea32cf253c5b89a85765775a449
parent860b25a61178232fd34270826a24d084efb408e4
Use getIntrinsicID instead of looking up intrinsic prototypes. Also
fixes a bug with indirect calls. (Test case will be included with
ocaml collector patch.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45316 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/Collector.cpp