Changeset 2a76297


Ignore:
Timestamp:
Apr 6, 2016, 3:53:44 PM (8 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
b3ab8f0
Parents:
ae7014e
Message:

Fixed duplicate generation of offset arrays

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cc

    rae7014e r2a76297  
    17761776                                        ret = new NameExpr( offsetName );
    17771777                                } else {
     1778                                        knownOffsets.insert( offsetName );
     1779                                       
    17781780                                        std::list< Declaration* > &baseMembers = ty->get_baseStruct()->get_members();
    17791781                                        Type *offsetType = new BasicType( Type::Qualifiers(), BasicType::LongUnsignedInt );
Note: See TracChangeset for help on using the changeset viewer.