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 | d7722d9d76a851e7897f4127626616d3b1b8e530 (patch) | |
tree | 3e4250946873fe487487e1ae1695267b156bf736 /lib/CodeGen/CGException.cpp | |
parent | c5e0f9b44782204437de21594c1748b1405d90bc (diff) |
Switch the Alignment argument on AggValueSlot over to CharUnits, per John's review comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145741 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGException.cpp')
-rw-r--r-- | lib/CodeGen/CGException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGException.cpp b/lib/CodeGen/CGException.cpp index 3a7b4d4107..5b5d8b4f02 100644 --- a/lib/CodeGen/CGException.cpp +++ b/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, |