]> granicus.if.org Git - clang/commit
Refactor handling of calls:
authorDaniel Dunbar <daniel@zuster.org>
Sat, 30 Aug 2008 03:02:31 +0000 (03:02 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 30 Aug 2008 03:02:31 +0000 (03:02 +0000)
commit19cd87eb5fb3c197e631ce08fd52c446c4d4e8f1
tree3f19c67a800f12f6ecc608d7f5d263d55ad7d375
parent0e194ddd0a5b5ce5d08ebcf8fb71cd41d02c1933
Refactor handling of calls:
 - Added CodeGenFunction::EmitCall which just takes the callee, return
   type, and a list of (Value*,QualType) pairs.
 - Added CodeGenFunction::EmitCallArg which handles emitting code for
   a call argument and turning it into an appropriate
   (Value*,QualType) pair.
 - Changed Objective-C runtime interface so that the actual emission
   of arguments for message sends is (once again) done in the code to
   emit a message send.

No intended functionality change, this is prep work for better ABI
support and for Objective-C property setter support.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55560 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGObjCGNU.cpp
lib/CodeGen/CGObjCMac.cpp
lib/CodeGen/CGObjCRuntime.h
lib/CodeGen/CodeGenFunction.h