diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-09-02 17:28:31 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-09-02 17:28:31 +0000 |
commit | 05bbef63b66047ce1b205d794acfa2c681f1f2e5 (patch) | |
tree | 9ad9c820437e37a7eaa694592ff423c4419dd52e /clang/lib/CodeGen | |
parent | 5af02b03608530dd2c7c6dae75b8bfe936ec7eba (diff) | |
download | bcm5719-llvm-05bbef63b66047ce1b205d794acfa2c681f1f2e5.tar.gz bcm5719-llvm-05bbef63b66047ce1b205d794acfa2c681f1f2e5.zip |
Another i1 vs. i8 type mismatch issue. This time
a 'bool' byref variable in memory. Fixes radar 8382559.
llvm-svn: 112835
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp index 8ce196b64e8..d4c65e3e744 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(ConvertType(Ty)); + Types.push_back(ConvertTypeForMem(Ty)); const llvm::Type *T = llvm::StructType::get(VMContext, Types, Packed); |