simplify this a bit to remove indirection

llvm-svn: 41216
This commit is contained in:
Chris Lattner 2007-08-21 05:02:10 +00:00
parent 835635d85a
commit 926792f726
1 changed files with 3 additions and 3 deletions

View File

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