Changeset d78f4c0 for src


Ignore:
Timestamp:
Dec 15, 2016, 11:07:20 AM (7 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
12d44bb
Parents:
c7800bfc
Message:

Suppress warnings in codegen involving zero/one types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/GenType.cc

    rc7800bfc rd78f4c0  
    204204        void GenType::visit( ZeroType *zeroType ) {
    205205                // ideally these wouldn't hit codegen at all, but should be safe to make them ints
    206                 typeString = "int " + typeString;
     206                typeString = "long int " + typeString;
    207207                handleQualifiers( zeroType );
    208208        }
     
    210210        void GenType::visit( OneType *oneType ) {
    211211                // ideally these wouldn't hit codegen at all, but should be safe to make them ints
    212                 typeString = "int " + typeString;
     212                typeString = "long int " + typeString;
    213213                handleQualifiers( oneType );
    214214        }
Note: See TracChangeset for help on using the changeset viewer.