[cfe-commits] r65510 - /cfe/trunk/lib/CodeGen/CGCall.cpp

Daniel Dunbar daniel at zuster.org
Wed Feb 25 23:21:35 PST 2009


Author: ddunbar
Date: Thu Feb 26 01:21:35 2009
New Revision: 65510

URL: http://llvm.org/viewvc/llvm-project?rev=65510&view=rev
Log:
x86_64 ABI: Qualified id types are passed as pointers.
 - <rdar://problem/6622451> Bad x86_64 code gen for message call taking one argument.

Modified:
    cfe/trunk/lib/CodeGen/CGCall.cpp

Modified: cfe/trunk/lib/CodeGen/CGCall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCall.cpp?rev=65510&r1=65509&r2=65510&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGCall.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCall.cpp Thu Feb 26 01:21:35 2009
@@ -523,6 +523,7 @@
     // FIXME: _float128 and _Decimal128 are (SSE, SSEUp).
     // FIXME: __int128 is (Integer, Integer).
   } else if (Ty->isPointerLikeType() || Ty->isBlockPointerType() ||
+             Ty->isObjCQualifiedIdType() ||
              Ty->isObjCQualifiedInterfaceType()) {
     Current = Integer;
   } else if (const VectorType *VT = Ty->getAsVectorType()) {





More information about the cfe-commits mailing list