Changeset 28e58fd for src/GenPoly/Specialize.cc
- Timestamp:
- Aug 25, 2017, 10:38:34 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 800d275
- Parents:
- af08051 (diff), 3eab308c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Specialize.cc
raf08051 r28e58fd 131 131 // conversion of 0 (null) to function type does not require tuple specialization 132 132 if ( dynamic_cast< ZeroType * >( actualType ) ) return false; 133 FunctionType * aftype = getFunctionType( actualType );134 assertf( aftype, "formal type is a function type, but actual type is not .");133 FunctionType * aftype = getFunctionType( actualType->stripReferences() ); 134 assertf( aftype, "formal type is a function type, but actual type is not: %s", toString( actualType ).c_str() ); 135 135 // Can't tuple specialize if parameter sizes deeply-differ. 136 136 if ( functionParameterSize( fftype ) != functionParameterSize( aftype ) ) return false;
Note: See TracChangeset
for help on using the changeset viewer.