aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-08-23 01:28:08 +0000
committerAnders Carlsson <andersca@mac.com>2009-08-23 01:28:08 +0000
commit70d488e6d0d3127aa53bee57ab9e746943ed47c3 (patch)
treeed4bc0dcdc49598adceb466433f09ea4fcdc7142 /lib/CodeGen/CGExprConstant.cpp
parentfc3eaa47fa2ef70ab21131005c328adda3020737 (diff)
Whoops, comment this out for now. I'll fix it shortly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79806 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
-rw-r--r--lib/CodeGen/CGExprConstant.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp
index 2770527eba..93c0647b78 100644
--- a/lib/CodeGen/CGExprConstant.cpp
+++ b/lib/CodeGen/CGExprConstant.cpp
@@ -801,6 +801,7 @@ llvm::Constant *CodeGenModule::EmitNullConstant(QualType T) {
}
}
+#if 0
if (const RecordType *RT = T->getAs<RecordType>()) {
const CGRecordLayout *Layout = Types.getCGRecordLayout(RT->getDecl());
if (Layout->containsMemberPointer()) {
@@ -808,6 +809,7 @@ llvm::Constant *CodeGenModule::EmitNullConstant(QualType T) {
}
}
+#endif
// FIXME: Handle structs that contain member pointers.
if (T->isMemberPointerType())