summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-09-03 00:35:23 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-09-03 00:35:23 +0000
commitbe13194655cfc1aab977a17267f863a5945bfd4e (patch)
tree7b1fd6d1bea049a7013976e20a732d26a83e8fbb /clang/lib
parent08aede25384d4e95882df6320f900f9406d583a8 (diff)
downloadbcm5719-llvm-be13194655cfc1aab977a17267f863a5945bfd4e.tar.gz
bcm5719-llvm-be13194655cfc1aab977a17267f863a5945bfd4e.zip
Revert "Another i1 vs. i8 type mismatch issue. This time", it breaks some projects.
llvm-svn: 112922
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CGDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index d4c65e3e744..8ce196b64e8 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud