]> granicus.if.org Git - clang/commit
Move FunctionType conversion into CGCall.cpp:
authorDaniel Dunbar <daniel@zuster.org>
Wed, 10 Sep 2008 04:01:49 +0000 (04:01 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 10 Sep 2008 04:01:49 +0000 (04:01 +0000)
commit45c25ba11cbf8c9a461def5b03f6ee9481e06769
tree2be394b3b5a29a887130e782ffc0fcac8a1f48cd
parent2c8e0f32b9c33686be23c70add0b97490903de9f
Move FunctionType conversion into CGCall.cpp:
 - Added CodeGenTypes::GetFunctionType, taking a CGFunctionInfo.
 - Updated Obj-C runtimes to use this instead of rolling the
   llvm::FunctionType by hand.
 - Killed CodeGenTypes::{ConvertReturnType, DecodeArgumentTypes}.

Add ABIArgInfo class to encapsulate ABI decision of how to lower types
to LLVM.
 - Will move to target sometime soon.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56047 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGCall.h
lib/CodeGen/CGObjCGNU.cpp
lib/CodeGen/CGObjCMac.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/CodeGenTypes.cpp
lib/CodeGen/CodeGenTypes.h