diff options
author | John McCall <rjmccall@apple.com> | 2011-08-26 00:46:38 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-08-26 00:46:38 +0000 |
commit | 1366862c3f5d390140b5978380d9ac7317d60fc6 (patch) | |
tree | 6ad8cb72fe854c48e9c48431e6618cad223d9727 /lib/CodeGen/CGException.cpp | |
parent | 669cffa41a8789840e7c3a9875aa5ef8c03f43ea (diff) |
The allocated exception slot does not alias anything; should fix self-host.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGException.cpp')
-rw-r--r-- | lib/CodeGen/CGException.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CGException.cpp b/lib/CodeGen/CGException.cpp index 263ac63ccc..0605f62b27 100644 --- a/lib/CodeGen/CGException.cpp +++ b/lib/CodeGen/CGException.cpp @@ -1034,7 +1034,8 @@ static void InitCatchParam(CodeGenFunction &CGF, // Perform the copy construction. CGF.EmitAggExpr(copyExpr, AggValueSlot::forAddr(ParamAddr, Qualifiers(), AggValueSlot::IsNotDestructed, - AggValueSlot::DoesNotNeedGCBarriers)); + AggValueSlot::DoesNotNeedGCBarriers, + AggValueSlot::IsNotAliased)); // Leave the terminate scope. CGF.EHStack.popTerminate(); |