summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/TargetInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-06-30 19:14:05 +0000
committerChris Lattner <sabre@nondot.org>2010-06-30 19:14:05 +0000
commit5c740f1523ce425758ae2c3c5e454be18971d76d (patch)
tree3e4543e92d993c0cb76eb889f31fe7a6a923ffe3 /clang/lib/CodeGen/TargetInfo.cpp
parent02995320e9cba5d2179700f14ce35bbffe12c24e (diff)
downloadbcm5719-llvm-5c740f1523ce425758ae2c3c5e454be18971d76d.tar.gz
bcm5719-llvm-5c740f1523ce425758ae2c3c5e454be18971d76d.zip
Reapply:
r107173, "fix PR7519: after thrashing around and remembering how all this stuff" r107216, "fix PR7523, which was caused by the ABI code calling ConvertType instead" This includes a fix to make ConvertTypeForMem handle the "recursive" case, and call it as such when lowering function types which have an indirect result. llvm-svn: 107310
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r--clang/lib/CodeGen/TargetInfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp
index 2ba19f10963..c65f2037155 100644
--- a/clang/lib/CodeGen/TargetInfo.cpp
+++ b/clang/lib/CodeGen/TargetInfo.cpp
@@ -830,8 +830,7 @@ X86_64ABIInfo::Class X86_64ABIInfo::merge(Class Accum, Class Field) {
return SSE;
}
-void X86_64ABIInfo::classify(QualType Ty,
- uint64_t OffsetBase,
+void X86_64ABIInfo::classify(QualType Ty, uint64_t OffsetBase,
Class &Lo, Class &Hi) const {
// FIXME: This code can be simplified by introducing a simple value class for
// Class pairs with appropriate constructor methods for the various
OpenPOWER on IntegriCloud