Changeset 064cb18 for src/SymTab


Ignore:
Timestamp:
Feb 3, 2017, 4:02:13 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
dbe8f244
Parents:
a9fc180
git-author:
Rob Schluntz <rschlunt@…> (02/03/17 15:56:16)
git-committer:
Rob Schluntz <rschlunt@…> (02/03/17 16:02:13)
Message:

Fixed code gen for default argument functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.cc

    ra9fc180 r064cb18  
    172172                        for ( std::list< Expression* >::const_iterator param = params.begin(); param != params.end(); ++param ) {
    173173                                TypeExpr *paramType = dynamic_cast< TypeExpr* >( *param );
    174                                 assert(paramType && "Aggregate parameters should be type expressions");
     174                                assertf(paramType, "Aggregate parameters should be type expressions: %s", toString(*param).c_str());
    175175                                maybeAccept( paramType->get_type(), *this );
    176176                        }
Note: See TracChangeset for help on using the changeset viewer.