Changes in src/GenPoly/GenPoly.cc [f8b961b:bdf1954]
- File:
-
- 1 edited
-
src/GenPoly/GenPoly.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/GenPoly.cc
rf8b961b rbdf1954 21 21 22 22 namespace GenPoly { 23 // /A function needs an adapter if it returns a polymorphic value or if any of its24 // /parameters have polymorphic type23 // A function needs an adapter if it returns a polymorphic value or if any of its 24 // parameters have polymorphic type 25 25 bool needsAdapter( FunctionType *adaptee, const TyVarMap &tyVars ) { 26 26 if ( ! adaptee->get_returnVals().empty() && isPolyVal( adaptee->get_returnVals().front()->get_type(), tyVars ) ) {
Note:
See TracChangeset
for help on using the changeset viewer.