diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2011-12-03 02:13:40 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2011-12-03 02:13:40 +0000 |
| commit | 38cd36dbdb8c7ee8faccc9c9ac8d57d185553fde (patch) | |
| tree | 2c0f9c7e739718bdcf80b10fa03936f53afb0d19 /clang/lib/CodeGen/CGException.cpp | |
| parent | 25f66700038aecf35396c15ee6bdedc98ea04e8f (diff) | |
| download | bcm5719-llvm-38cd36dbdb8c7ee8faccc9c9ac8d57d185553fde.tar.gz bcm5719-llvm-38cd36dbdb8c7ee8faccc9c9ac8d57d185553fde.zip | |
Switch the Alignment argument on AggValueSlot over to CharUnits, per John's review comment.
llvm-svn: 145741
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp index 3a7b4d4107b..5b5d8b4f023 100644 --- a/clang/lib/CodeGen/CGException.cpp +++ b/clang/lib/CodeGen/CGException.cpp @@ -1039,7 +1039,7 @@ static void InitCatchParam(CodeGenFunction &CGF, CGF.EHStack.pushTerminate(); // Perform the copy construction. - unsigned Alignment = CGF.getContext().getDeclAlign(&CatchParam).getQuantity(); + CharUnits Alignment = CGF.getContext().getDeclAlign(&CatchParam); CGF.EmitAggExpr(copyExpr, AggValueSlot::forAddr(ParamAddr, Alignment, Qualifiers(), AggValueSlot::IsNotDestructed, |

