Changeset 42e2ad7


Ignore:
Timestamp:
Apr 29, 2015, 11:40:37 AM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, string, with_gc
Children:
48e99f2
Parents:
bdd516a
Message:

fixed initialization of stack-allocated polymorphic variables

Location:
translator
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • translator/InitTweak/module.mk

    rbdd516a r42e2ad7  
    33       InitTweak/Mutate.cc     \
    44       InitTweak/Association.cc     \
     5       InitTweak/RemoveInit.cc     \
    56        $(NULL)
    67
  • 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.