Changeset 7e4c4f4


Ignore:
Timestamp:
Nov 22, 2017, 3:40:40 PM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
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
Message:

Update debug prints in AlternativeFinder?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    rb95fe40 r7e4c4f4  
    11061106                        unify( castExpr->get_result(), i->expr->get_result(), i->env, needAssertions, haveAssertions, openVars, indexer );
    11071107                        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                        )
    11081113                        if ( thisCost != Cost::infinity ) {
     1114                                PRINT(
     1115                                        std::cerr << "has finite cost." << std::endl;
     1116                                )
    11091117                                // count one safe conversion for each value that is thrown away
    11101118                                thisCost.incSafe( discardedValues );
Note: See TracChangeset for help on using the changeset viewer.