From 9a8c2e9051b3db6909e5efa872ad60ff524be065 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 26 Feb 2009 07:21:35 +0000 Subject: [PATCH] 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 --- lib/CodeGen/CGCall.cpp | 1 + 1 file changed, 1 insertion(+) 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()) { -- 2.50.1