Changes in / [f0743a7:6090518]


Ignore:
Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    rf0743a7 r6090518  
    897897                // sum cost and accumulate actuals
    898898                std::list<Expression*>& args = appExpr->get_args();
    899                 Cost cost = func.cost;
     899                Cost cost = Cost::zero;
    900900                const ArgPack* pack = &result;
    901901                while ( pack->expr ) {
  • src/SynTree/Expression.cc

    rf0743a7 r6090518  
    356356        Type * res = member->get_type()->clone();
    357357        sub.apply( res );
    358         result = res;
    359         result->set_lvalue( true );
    360         result->get_qualifiers() |= aggregate->result->get_qualifiers();
     358        set_result( res );
     359        get_result()->set_lvalue( true );
    361360}
    362361
Note: See TracChangeset for help on using the changeset viewer.