Ignore:
Timestamp:
Dec 21, 2016, 2:45:22 PM (5 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
8bf784a
Parents:
da6dec23
Message:

assert tuple types do not make it to code gen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/GenType.cc

    rda6dec23 r6d4d1a6  
    4141                virtual void visit( EnumInstType *enumInst );
    4242                virtual void visit( TypeInstType *typeInst );
     43                virtual void visit( TupleType * tupleType );
    4344                virtual void visit( VarArgsType *varArgsType );
    4445                virtual void visit( ZeroType *zeroType );
     
    197198        }
    198199
     200        void GenType::visit( TupleType * tupleType ) {
     201                assertf( ! mangle, "Tuple types should not make it to Code Gen." );
     202                Visitor::visit( tupleType );
     203        }
     204
    199205        void GenType::visit( VarArgsType *varArgsType ) {
    200206                typeString = "__builtin_va_list " + typeString;
Note: See TracChangeset for help on using the changeset viewer.