Changes in src/ResolvExpr/ConversionCost.h [2463d0e:89e6ffc]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ConversionCost.h
r2463d0e r89e6ffc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // ConversionCost.h -- 7 // ConversionCost.h -- 8 8 // 9 9 // Author : Richard C. Bilson … … 26 26 public: 27 27 ConversionCost( Type *dest, const SymTab::Indexer &indexer, const TypeEnvironment &env ); 28 28 29 29 Cost get_cost() const { return cost; } 30 30 … … 33 33 virtual void visit(PointerType *pointerType); 34 34 virtual void visit(ArrayType *arrayType); 35 virtual void visit(ReferenceType *refType);36 35 virtual void visit(FunctionType *functionType); 37 36 virtual void visit(StructInstType *aggregateUseType); … … 50 49 const TypeEnvironment &env; 51 50 }; 52 53 Cost convertToReferenceCost( Type * src, ReferenceType * dest, const SymTab::Indexer & indexer, const TypeEnvironment & env );54 51 } // namespace ResolvExpr 55 52
Note:
See TracChangeset
for help on using the changeset viewer.