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