Changeset b8508a2 for translator/GenPoly


Ignore:
Timestamp:
May 15, 2015, 3:18:13 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
b87a5ed
Parents:
5c7fb6c
Message:

fix -std flag in cfa.cc, and rename alloca to builtin_alloca

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/GenPoly/Box.cc

    r5c7fb6c rb8508a2  
    10591059                    TypeInstType *typeInst = dynamic_cast< TypeInstType *>( objectDecl->get_type() );
    10601060                    assert( typeInst );
    1061                     UntypedExpr *alloc = new UntypedExpr( new NameExpr( "alloca" ) );
     1061                    UntypedExpr *alloc = new UntypedExpr( new NameExpr( "__builtin_alloca" ) );
    10621062                    alloc->get_args().push_back( new NameExpr( typeInst->get_name() ) );
    10631063                    UntypedExpr *assign = new UntypedExpr( new NameExpr( "?=?" ) );
Note: See TracChangeset for help on using the changeset viewer.