From: Daniel Dunbar Date: Thu, 26 Feb 2009 07:21:35 +0000 (+0000) Subject: x86_64 ABI: Qualified id types are passed as pointers. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a8c2e9051b3db6909e5efa872ad60ff524be065;p=clang x86_64 ABI: Qualified id types are passed as pointers. - Bad x86_64 code gen for message call taking one argument. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65510 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 93f4ebe945..974b9b46f6 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -523,6 +523,7 @@ void X86_64ABIInfo::classify(QualType Ty, // 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()) {