Changeset 8a62d04


Ignore:
Timestamp:
Nov 29, 2017, 1:56:03 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
487845d7
Parents:
8d5b9cf
Message:

Add function cost to UntypedExpr? resolution cost

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    r8d5b9cf r8a62d04  
    897897                // sum cost and accumulate actuals
    898898                std::list<Expression*>& args = appExpr->get_args();
    899                 Cost cost = Cost::zero;
     899                Cost cost = func.cost;
    900900                const ArgPack* pack = &result;
    901901                while ( pack->expr ) {
Note: See TracChangeset for help on using the changeset viewer.