diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2011-12-03 04:14:32 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2011-12-03 04:14:32 +0000 |
| commit | a0544d6fdf44a9a28ab324478fcf463d9e37a116 (patch) | |
| tree | 19c35ff91754811a816dd29b050a034e549bf6f7 /clang/lib/CodeGen/CGBlocks.cpp | |
| parent | b2b0795c9fb3e01a60e5592a3ec8816a3d2addb0 (diff) | |
| download | bcm5719-llvm-a0544d6fdf44a9a28ab324478fcf463d9e37a116.tar.gz bcm5719-llvm-a0544d6fdf44a9a28ab324478fcf463d9e37a116.zip | |
Switch LValue so that it exposes alignment in CharUnits. (No functional change.)
llvm-svn: 145753
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGBlocks.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp index e713492cc0a..8fc43442018 100644 --- a/clang/lib/CodeGen/CGBlocks.cpp +++ b/clang/lib/CodeGen/CGBlocks.cpp @@ -745,8 +745,7 @@ llvm::Value *CodeGenFunction::EmitBlockLiteral(const CGBlockInfo &blockInfo) { declRef, VK_RValue); EmitExprAsInit(&l2r, &blockFieldPseudoVar, MakeAddrLValue(blockField, type, - getContext().getDeclAlign(variable) - .getQuantity()), + getContext().getDeclAlign(variable)), /*captured by init*/ false); } |

