Changeset eddb399 for src/ResolvExpr
- Timestamp:
- Feb 26, 2018, 3:58:47 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:
- 54043f4
- Parents:
- 45c43e5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ConversionCost.cc
r45c43e5 reddb399 170 170 Cost convertToReferenceCost( Type * src, ReferenceType * dest, const SymTab::Indexer & indexer, const TypeEnvironment & env, PtrsFunction func ) { 171 171 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; 173 175 } 174 176
Note: See TracChangeset
for help on using the changeset viewer.