Changeset a08ba92 for translator/Tuples/AssignExpand.cc
- Timestamp:
- May 19, 2015, 4:58:14 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 843054c2
- Parents:
- 01aeade
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
translator/Tuples/AssignExpand.cc
r01aeade ra08ba92 38 38 39 39 CompoundStmt *newSt = 0; 40 if ( ! extra.empty() ) {40 if ( ! extra.empty() ) { 41 41 if ( ! newSt ) 42 42 newSt= new CompoundStmt(std::list<Label>()); … … 69 69 if ( tupleExpr->get_type() == SolvedTupleExpr::MASS ) { 70 70 // extract lhs of assignments, assert that rhs is the same, create temporaries 71 assert ( ! exprs.empty());71 assert ( ! exprs.empty()); 72 72 ApplicationExpr *ap1 = dynamic_cast< ApplicationExpr * >( exprs.front() ); 73 73 std::list<Expression *> &args = ap1->get_args();
Note: See TracChangeset
for help on using the changeset viewer.