x86_64 ABI: Qualified id types are passed as pointers.

- <rdar://problem/6622451> Bad x86_64 code gen for message call taking one argument.

llvm-svn: 65510
This commit is contained in:
Daniel Dunbar 2009-02-26 07:21:35 +00:00
parent 264e46e1e9
commit b98d1f7140
1 changed files with 1 additions and 0 deletions

View File

@ -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()) {