Changeset adcdd2f
- Timestamp:
- Oct 28, 2015, 3:39:05 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- f6835e5
- Parents:
- 543159b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.cc
r543159b radcdd2f 698 698 std::list< Type* >::iterator candidate_end = (*i).expr->get_results().begin(); 699 699 std::advance( candidate_end, castExpr->get_results().size() ); 700 // unification run for side-effects 701 unifyList( castExpr->get_results().begin(), castExpr->get_results().end(), 702 (*i).expr->get_results().begin(), candidate_end, 703 i->env, needAssertions, haveAssertions, openVars, indexer ); 700 704 Cost thisCost = castCostList( (*i).expr->get_results().begin(), candidate_end, 701 castExpr->get_results().begin(), castExpr->get_results().end(), indexer, i->env ); 705 castExpr->get_results().begin(), castExpr->get_results().end(), 706 indexer, i->env ); 702 707 if ( thisCost != Cost::infinity ) { 703 708 // count one safe conversion for each value that is thrown away
Note: See TracChangeset
for help on using the changeset viewer.