aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-07-27 15:31:55 +0000
committerAnders Carlsson <andersca@mac.com>2009-07-27 15:31:55 +0000
commitabdad358b53d0efd1d89ea434b7078600a656d1f (patch)
treecb3b7d1fe580ed3593273e9935c31759bd5d201f /lib/CodeGen
parentc1efe36ca75b4f4f82cdec464bab5693ed0d6058 (diff)
Enable the new struct type builder now that the constant struct builder works. (The old code will still be there until we know that everything works well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/CGRecordLayoutBuilder.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/CGRecordLayoutBuilder.cpp b/lib/CodeGen/CGRecordLayoutBuilder.cpp
index adbfd3f1c6..546c544095 100644
--- a/lib/CodeGen/CGRecordLayoutBuilder.cpp
+++ b/lib/CodeGen/CGRecordLayoutBuilder.cpp
@@ -301,9 +301,6 @@ CGRecordLayoutBuilder::ComputeLayout(CodeGenTypes &Types,
Builder.Layout(D);
- // FIXME: Once this works well enough, enable it.
- return 0;
-
const llvm::Type *Ty = llvm::StructType::get(Builder.FieldTypes,
Builder.Packed);