Changeset a08ba92 for translator/ControlStruct/Mutate.cc
- Timestamp:
- May 19, 2015, 4:58:14 PM (9 years ago)
- 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:
- 843054c2
- Parents:
- 01aeade
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
translator/ControlStruct/Mutate.cc
r01aeade ra08ba92 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // XXX.cc --7 // Mutate.cc -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : 12 // Last Modified On : 13 // Update Count : 011 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue May 19 15:32:52 2015 13 // Update Count : 2 14 14 // 15 15 16 #include <algorithm> 16 17 #include <iostream> … … 34 35 35 36 namespace ControlStruct { 36 37 // ForExprMutator formut;38 LabelFixer lfix;39 ChooseMutator chmut;40 CaseRangeMutator ranges; // has to run after ChooseMutator41 //ExceptMutator exc;42 // LabelTypeChecker lbl;37 void mutate( std::list< Declaration * > translationUnit ) { 38 // ForExprMutator formut; 39 LabelFixer lfix; 40 ChooseMutator chmut; 41 CaseRangeMutator ranges; // has to run after ChooseMutator 42 //ExceptMutator exc; 43 // LabelTypeChecker lbl; 43 44 44 // mutateAll( translationUnit, formut );45 acceptAll( translationUnit, lfix );46 mutateAll( translationUnit, chmut );47 mutateAll( translationUnit, ranges );48 //mutateAll( translationUnit, exc );49 //acceptAll( translationUnit, lbl );50 45 // mutateAll( translationUnit, formut ); 46 acceptAll( translationUnit, lfix ); 47 mutateAll( translationUnit, chmut ); 48 mutateAll( translationUnit, ranges ); 49 //mutateAll( translationUnit, exc ); 50 //acceptAll( translationUnit, lbl ); 51 } 51 52 } // namespace CodeGen 53 52 54 // Local Variables: // 53 55 // tab-width: 4 //
Note: See TracChangeset
for help on using the changeset viewer.