[cfe-commits] r41216 - /cfe/trunk/CodeGen/CGAggExpr.cpp
Chris Lattner
sabre at nondot.org
Mon Aug 20 22:02:11 PDT 2007
Author: lattner
Date: Tue Aug 21 00:02:10 2007
New Revision: 41216
URL: http://llvm.org/viewvc/llvm-project?rev=41216&view=rev
Log:
simplify this a bit to remove indirection
Modified:
cfe/trunk/CodeGen/CGAggExpr.cpp
Modified: cfe/trunk/CodeGen/CGAggExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGAggExpr.cpp?rev=41216&r1=41215&r2=41216&view=diff
==============================================================================
--- cfe/trunk/CodeGen/CGAggExpr.cpp (original)
+++ cfe/trunk/CodeGen/CGAggExpr.cpp Tue Aug 21 00:02:10 2007
@@ -289,13 +289,13 @@
// 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();
More information about the cfe-commits
mailing list