Changeset eddb399 for src/ResolvExpr


Ignore:
Timestamp:
Feb 26, 2018, 3:58:47 PM (7 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:
54043f4
Parents:
45c43e5
Message:

Add debug print to convertToReferenceCost

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/ConversionCost.cc

    r45c43e5 reddb399  
    170170        Cost convertToReferenceCost( Type * src, ReferenceType * dest, const SymTab::Indexer & indexer, const TypeEnvironment & env, PtrsFunction func ) {
    171171                int sdepth = src->referenceDepth(), ddepth = dest->referenceDepth();
    172                 return convertToReferenceCost( src, dest, sdepth-ddepth, indexer, env, func );
     172                Cost cost = convertToReferenceCost( src, dest, sdepth-ddepth, indexer, env, func );
     173                PRINT( std::cerr << "convertToReferenceCost result: " << cost << std::endl; )
     174                return cost;
    173175        }
    174176
Note: See TracChangeset for help on using the changeset viewer.