Changeset 9dc3eb21


Ignore:
Timestamp:
Oct 1, 2020, 2:13:41 PM (3 years ago)
Author:
Fangren Yu <f37yu@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
1c1395d
Parents:
08e8851
Message:

fix #196

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/InstantiateGeneric.cc

    r08e8851 r9dc3eb21  
    172172                InstantiationMap< AggregateDecl, AggregateDecl > instantiations;
    173173                /// Set of types which are dtype-only generic (and therefore have static layout)
    174                 ScopedSet< AggregateDecl* > dtypeStatics;
     174                // ScopedSet< AggregateDecl* > dtypeStatics;
     175                std::set<AggregateDecl *> dtypeStatics;
    175176                /// Namer for concrete types
    176177                UniqueName typeNamer;
     
    505506        void GenericInstantiator::beginScope() {
    506507                instantiations.beginScope();
    507                 dtypeStatics.beginScope();
     508                //dtypeStatics.beginScope();
    508509        }
    509510
    510511        void GenericInstantiator::endScope() {
    511512                instantiations.endScope();
    512                 dtypeStatics.endScope();
     513                //dtypeStatics.endScope();
    513514        }
    514515
Note: See TracChangeset for help on using the changeset viewer.