Changes in src/GenPoly/GenPoly.cc [bfae637:8488c715]
- File:
-
- 1 edited
-
src/GenPoly/GenPoly.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/GenPoly.cc
rbfae637 r8488c715 16 16 #include "GenPoly.h" 17 17 18 #include "SymTab/Mangler.h" 18 19 #include "SynTree/Expression.h" 19 20 #include "SynTree/Type.h" … … 37 38 ReferenceToType *isPolyRet( FunctionType *function ) { 38 39 if ( ! function->get_returnVals().empty() ) { 39 TyVarMap forallTypes ( (TypeDecl::Kind)-1 );40 TyVarMap forallTypes; 40 41 makeTyVarMap( function, forallTypes ); 41 42 return (ReferenceToType*)isPolyType( function->get_returnVals().front()->get_type(), forallTypes ); … … 217 218 } 218 219 220 std::string sizeofName( Type *ty ) { 221 return std::string( "_sizeof_" ) + SymTab::Mangler::mangleType( ty ); 222 } 223 224 std::string alignofName( Type *ty ) { 225 return std::string( "_alignof_" ) + SymTab::Mangler::mangleType( ty ); 226 } 227 228 std::string offsetofName( Type* ty ) { 229 return std::string( "_offsetof_" ) + SymTab::Mangler::mangleType( ty ); 230 } 231 219 232 } // namespace GenPoly 220 233
Note:
See TracChangeset
for help on using the changeset viewer.