Use the new 'getSlotIndex' method to retrieve the attribute's slot index.
authorBill Wendling <isanbard@gmail.com>
Fri, 25 Jan 2013 21:46:52 +0000 (21:46 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 25 Jan 2013 21:46:52 +0000 (21:46 +0000)
commit8649283e755272ac0814fec497a63947794a1b90
treeb667b074f63127eae31982c918018460477a1983
parente6abe83258b67ea26417d35a11fb383a2d44e62c
Use the new 'getSlotIndex' method to retrieve the attribute's slot index.

llvm-svn: 173499
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/IR/Attributes.cpp
llvm/lib/Target/CppBackend/CPPBackend.cpp
llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp