The allocated exception slot does not alias anything; should fix self-host.

llvm-svn: 138615
This commit is contained in:
John McCall
2011-08-26 00:46:38 +00:00
parent 3b561ebd44
commit 35e4f0cd0f
2 changed files with 15 additions and 1 deletions

View File

@@ -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();