Changes in src/ResolvExpr/ConversionCost.h [89e6ffc:2463d0e]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ConversionCost.h
r89e6ffc r2463d0e 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); 35 36 virtual void visit(FunctionType *functionType); 36 37 virtual void visit(StructInstType *aggregateUseType); … … 49 50 const TypeEnvironment &env; 50 51 }; 52 53 Cost convertToReferenceCost( Type * src, ReferenceType * dest, const SymTab::Indexer & indexer, const TypeEnvironment & env ); 51 54 } // namespace ResolvExpr 52 55
Note:
See TracChangeset
for help on using the changeset viewer.