Changes in src/ResolvExpr/CastCost.cc [c8e4d2f8:00ac42e]
- File:
-
- 1 edited
-
src/ResolvExpr/CastCost.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CastCost.cc
rc8e4d2f8 r00ac42e 78 78 }); 79 79 } else { 80 #warning cast on castCost artifact of having two functions, remove when port done 81 PassVisitor<CastCost> converter( 82 dest, indexer, env, 83 (Cost (*)( Type *, Type *, const SymTab::Indexer &, const TypeEnvironment & )) 84 castCost ); 80 PassVisitor<CastCost> converter( dest, indexer, env, castCost ); 85 81 src->accept( converter ); 86 82 if ( converter.pass.get_cost() == Cost::infinity ) { … … 129 125 } 130 126 } 131 132 Cost castCost(133 const ast::Type * src, const ast::Type * dst, const ast::SymbolTable & symtab,134 const ast::TypeEnvironment & env135 ) {136 #warning unimplmented137 (void)src; (void)dst; (void)symtab; (void)env;138 assert(false);139 return Cost::zero;140 }141 127 } // namespace ResolvExpr 142 128
Note:
See TracChangeset
for help on using the changeset viewer.