Ignore:
Timestamp:
Aug 23, 2017, 6:22:07 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
87e08e24, cb811ac
Parents:
9f07232 (diff), bd37119 (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.
Message:

Merge branch 'master' of plg2:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Specialize.cc

    r9f07232 rd3e4d6c  
    131131                        // conversion of 0 (null) to function type does not require tuple specialization
    132132                        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() );
    135135                        // Can't tuple specialize if parameter sizes deeply-differ.
    136136                        if ( functionParameterSize( fftype ) != functionParameterSize( aftype ) ) return false;
Note: See TracChangeset for help on using the changeset viewer.