Changeset 42e2ad7 for translator/main.cc


Ignore:
Timestamp:
Apr 29, 2015, 11:40:37 AM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
48e99f2
Parents:
bdd516a
Message:

fixed initialization of stack-allocated polymorphic variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/main.cc

    rbdd516a r42e2ad7  
    2525#include "MakeLibCfa.h"
    2626#include "InitTweak/Mutate.h"
     27#include "InitTweak/RemoveInit.h"
    2728//#include "Explain/GenProlog.h"
    2829//#include "Try/Visit.h"
     
    256257            return 0;
    257258        } // if
     259
     260        // add the assignment statement after the
     261        // initialization of a type parameter
     262        InitTweak::tweak( translationUnit );
    258263
    259264        //std::cerr << "before validate" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.