Changeset 05d55ff for src/GenPoly


Ignore:
Timestamp:
Jun 7, 2019, 4:15:03 PM (7 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
2d11663, 46438e4
Parents:
60aaa51d (diff), be8518f (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 plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Lvalue.cc

    r60aaa51d r05d55ff  
    196196                                unsigned int i = 0;
    197197                                const unsigned int end = ftype->parameters.size();
     198
     199                                /// The for loop may eagerly dereference the iterators and fail on empty lists
     200                                if(i == end) { return appExpr; }
    198201                                for ( auto p : unsafe_group_iterate( appExpr->args, ftype->parameters ) ) {
    199202                                        if (i == end) break;
Note: See TracChangeset for help on using the changeset viewer.