- Timestamp:
- Nov 22, 2017, 3:40:40 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 452747a
- Parents:
- b95fe40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.cc
rb95fe40 r7e4c4f4 1106 1106 unify( castExpr->get_result(), i->expr->get_result(), i->env, needAssertions, haveAssertions, openVars, indexer ); 1107 1107 Cost thisCost = castCost( i->expr->get_result(), castExpr->get_result(), indexer, i->env ); 1108 PRINT( 1109 std::cerr << "working on cast with result: " << castExpr->result << std::endl; 1110 std::cerr << "and expr type: " << i->expr->result << std::endl; 1111 std::cerr << "env: " << i->env << std::endl; 1112 ) 1108 1113 if ( thisCost != Cost::infinity ) { 1114 PRINT( 1115 std::cerr << "has finite cost." << std::endl; 1116 ) 1109 1117 // count one safe conversion for each value that is thrown away 1110 1118 thisCost.incSafe( discardedValues );
Note: See TracChangeset
for help on using the changeset viewer.