Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cc

    ra0c7d5cc r589a70b  
    11631163
    11641164                        std::string fname = getFunctionName( appExpr );
    1165                         if ( fname == function->get_name() ) {
     1165                        if ( fname == function->name ) {
    11661166                                // call to same kind of function
    1167                                 Expression * firstParam = appExpr->get_args().front();
     1167                                Expression * firstParam = appExpr->args.front();
    11681168
    11691169                                if ( isThisExpression( firstParam, thisParam ) ) {
     
    11741174                                        // if first parameter is a member expression on the this parameter,
    11751175                                        // then remove the member from unhandled set.
    1176                                         if ( isThisExpression( memberExpr->get_aggregate(), thisParam ) ) {
    1177                                                 unhandled.erase( memberExpr->get_member() );
     1176                                        if ( isThisExpression( memberExpr->aggregate, thisParam ) ) {
     1177                                                unhandled.erase( memberExpr->member );
    11781178                                        }
    11791179                                }
Note: See TracChangeset for help on using the changeset viewer.