Changeset 1a4bef3 for src/GenPoly/Lvalue.cc
- Timestamp:
- Jan 12, 2018, 5:03:16 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- bee7f04
- Parents:
- 0690350
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Lvalue.cc
r0690350 r1a4bef3 321 321 delete ret->result; 322 322 ret->result = castExpr->result; 323 ret->result->set_lvalue( true ); // ensure result is lvalue 323 324 castExpr->env = nullptr; 324 325 castExpr->arg = nullptr; … … 388 389 // can remove cast if types are compatible, changing expression type to value type 389 390 ret->result = castExpr->result->clone(); 391 ret->result->set_lvalue( true ); // ensure result is lvalue 390 392 castExpr->arg = nullptr; 391 393 delete castExpr;
Note: See TracChangeset
for help on using the changeset viewer.