aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-05-08 20:55:49 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-05-08 20:55:49 +0000
commiteedd292ea0cf2216ff16d3490147323489102e3a (patch)
tree475e459bc55a9c5d9c634ce6c951980d7af69bc5 /lib/CodeGen
parentf7fff322debe0b7256fe4dbc1103a3c2b43c379a (diff)
Darwin x86_32: Improve bit-field handling for returning records.
- This turns out to be a no-op now that most of the handling for everything else is in place. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71261 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/CGCall.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp
index e9f2bba303..eba5ff5b5e 100644
--- a/lib/CodeGen/CGCall.cpp
+++ b/lib/CodeGen/CGCall.cpp
@@ -342,10 +342,6 @@ bool X86_32ABIInfo::shouldReturnTypeInRegister(QualType Ty,
e = RT->getDecl()->field_end(Context); i != e; ++i) {
const FieldDecl *FD = *i;
- // FIXME: Reject bit-fields wholesale for now; this is incorrect.
- if (FD->isBitField())
- return false;
-
// Empty structures are ignored.
if (isEmptyRecord(Context, FD->getType()))
continue;