Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CastCost.cc

    rc8e4d2f8 r00ac42e  
    7878                        });
    7979                } 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 );
    8581                        src->accept( converter );
    8682                        if ( converter.pass.get_cost() == Cost::infinity ) {
     
    129125                }
    130126        }
    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         }
    141127} // namespace ResolvExpr
    142128
Note: See TracChangeset for help on using the changeset viewer.