Ignore:
Timestamp:
Jan 19, 2024, 2:44:41 AM (9 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
ac939461
Parents:
59c8dff (diff), e8b3717 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cpp

    r59c8dff rf988834  
    581581        }
    582582
    583         if ( ! dtor->env ) dtor->env = maybeClone( env );
     583        if ( nullptr == dtor->env && nullptr != env ) {
     584                dtor->env = ast::shallowCopy( env );
     585        }
    584586        auto dtorFunc = getDtorFunc( ret, new ast::ExprStmt(loc, dtor ), stmtsToAddBefore );
    585587
Note: See TracChangeset for help on using the changeset viewer.