forked from OSchip/llvm-project
simplify this a bit to remove indirection
llvm-svn: 41216
This commit is contained in:
parent
835635d85a
commit
926792f726
|
@ -289,13 +289,13 @@ void AggExprEmitter::VisitConditionalOperator(const ConditionalOperator *E) {
|
|||
// Handle the GNU extension for missing LHS.
|
||||
assert(E->getLHS() && "Must have LHS for aggregate value");
|
||||
|
||||
CGF.EmitAggExpr(E->getLHS(), DestPtr, VolatileDest);
|
||||
Visit(E->getLHS());
|
||||
CGF.Builder.CreateBr(ContBlock);
|
||||
LHSBlock =CGF. Builder.GetInsertBlock();
|
||||
LHSBlock = CGF.Builder.GetInsertBlock();
|
||||
|
||||
CGF.EmitBlock(RHSBlock);
|
||||
|
||||
CGF.EmitAggExpr(E->getRHS(), DestPtr, VolatileDest);
|
||||
Visit(E->getRHS());
|
||||
CGF.Builder.CreateBr(ContBlock);
|
||||
RHSBlock = CGF.Builder.GetInsertBlock();
|
||||
|
||||
|
|
Loading…
Reference in New Issue