diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-26 19:03:24 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-26 19:03:24 +0000 |
commit | 24a9f6e11d222f2d9feaf5f9605c1a66006f7061 (patch) | |
tree | bda4d1a9020c3bcbed13d485eda33faa23eaba58 /lib/CodeGen/CGCall.cpp | |
parent | 4b87142aba52c76ff9ed7c9c2fe0067bd935a2f4 (diff) |
Drop uses of isPointerLikeType.
- No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r-- | lib/CodeGen/CGCall.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 6de07e165e..e560bfd82f 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -525,8 +525,8 @@ void X86_64ABIInfo::classify(QualType Ty, } else if (const EnumType *ET = Ty->getAsEnumType()) { // Classify the underlying integer type. classify(ET->getDecl()->getIntegerType(), Context, OffsetBase, Lo, Hi); - } else if (Ty->isPointerLikeType() || Ty->isBlockPointerType() || - Ty->isObjCQualifiedIdType() || + } else if (Ty->isPointerType() || Ty->isReferenceType() || + Ty->isBlockPointerType() || Ty->isObjCQualifiedIdType() || Ty->isObjCQualifiedInterfaceType()) { Current = Integer; } else if (const VectorType *VT = Ty->getAsVectorType()) { |