diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-09-03 00:35:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-09-03 00:35:23 +0000 |
commit | 3e7cf38810ec39be938b635ddd41e3cefde86883 (patch) | |
tree | 55cd1d60c7a614261b40940fe1141187b1a476f1 /lib/CodeGen/CGDecl.cpp | |
parent | 5d1d7ae120c2c8e6cba5d2a712b33500a5aecc10 (diff) |
Revert "Another i1 vs. i8 type mismatch issue. This time", it breaks some projects.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | lib/CodeGen/CGDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp index d4c65e3e74..8ce196b64e 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -373,7 +373,7 @@ const llvm::Type *CodeGenFunction::BuildByRefType(const ValueDecl *D) { } // T x; - Types.push_back(ConvertTypeForMem(Ty)); + Types.push_back(ConvertType(Ty)); const llvm::Type *T = llvm::StructType::get(VMContext, Types, Packed); |