Changeset da6032af for src/ResolvExpr


Ignore:
Timestamp:
Jan 18, 2019, 11:48:58 AM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
bead1cf
Parents:
bd78797
Message:

Remove assertion cost from cost model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    rbd78797 rda6032af  
    486486                for ( TypeDecl* td : function->forall ) {
    487487                        convCost.decSpec( td->assertions.size() );
    488                 }
    489 
    490                 // xxx -- replace with new costs in resolver
    491                 for ( InferredParams::const_iterator assert = appExpr->inferParams.begin(); assert != appExpr->inferParams.end(); ++assert ) {
    492                         convCost += computeConversionCost( assert->second.actualType, assert->second.formalType, indexer, alt.env );
    493488                }
    494489
Note: See TracChangeset for help on using the changeset viewer.