1. Identify bytecode modules that have upgraded intrinsics by setting a
authorReid Spencer <rspencer@reidspencer.com>
Thu, 19 Jan 2006 07:02:16 +0000 (07:02 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 19 Jan 2006 07:02:16 +0000 (07:02 +0000)
commite1e96c0820330de3d312ae2cde796cda5f07ba77
tree30ed92b01b6013341d62e5986def2c09dd864240
parente559184d7025523d3ac520ada1726a7d19dd29f1
1. Identify bytecode modules that have upgraded intrinsics by setting a
   boolean flag if we read a function prototype that needs upgrading.
2. Don't upgrade the CallInst instruction until after its been inserted
   into the basic block, and only if we know that we have seen an
   upgraded intrinsic function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25448 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bytecode/Reader/Reader.cpp