Changeset dd05e12 for src/InitTweak
- Timestamp:
- Mar 2, 2018, 5:34:51 PM (6 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:
- 09c72d5
- Parents:
- 986dd36
- git-author:
- Rob Schluntz <rschlunt@…> (03/02/18 17:08:09)
- git-committer:
- Rob Schluntz <rschlunt@…> (03/02/18 17:34:51)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cc
r986dd36 rdd05e12 448 448 ResolvExpr::findVoidExpression( resolved, indexer ); 449 449 assert( resolved ); 450 if ( resolved-> get_env()) {450 if ( resolved->env ) { 451 451 // Extract useful information and discard new environments. Keeping them causes problems in PolyMutator passes. 452 env->add( *resolved-> get_env());453 delete resolved-> get_env();454 resolved-> set_env( nullptr );452 env->add( *resolved->env ); 453 delete resolved->env; 454 resolved->env = nullptr; 455 455 } // if 456 456 delete stmt;
Note: See TracChangeset
for help on using the changeset viewer.