Changeset acb33f15 for src/CodeGen


Ignore:
Timestamp:
May 13, 2024, 10:26:52 AM (7 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
31f4837
Parents:
41c8312
Message:

Change enum conversion steps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/GenType.cc

    r41c8312 racb33f15  
    4646        void postvisit( ast::UnionInstType const * type );
    4747        void postvisit( ast::EnumInstType const * type );
    48         void postvisit( ast::EnumAttrType const * type );
    4948        void postvisit( ast::TypeInstType const * type );
    5049        void postvisit( ast::TupleType const * type );
     
    240239}
    241240
    242 void GenType::postvisit( ast::EnumAttrType const * type ) {
    243         postvisit( type->instance );
    244 }
    245 
    246241void GenType::postvisit( ast::TypeInstType const * type ) {
    247242        assertf( !options.genC, "TypeInstType should not reach code generation." );
Note: See TracChangeset for help on using the changeset viewer.