Changeset 982d63f
- Timestamp:
- Jun 28, 2016, 4:02:00 PM (8 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, with_gc
- Children:
- 4b2589a
- Parents:
- 4dcea3f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/Mutate.cc
r4dcea3f r982d63f 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Mutate.cc -- 7 // Mutate.cc -- 8 8 // 9 9 // Author : Rodolfo G. Esteves … … 39 39 ForExprMutator formut; 40 40 41 // transform choose statements into switch statements 42 ChooseMutator chmut; 43 41 44 // normalizes label definitions and generates multi-level 42 45 // exit labels 43 46 LabelFixer lfix; 44 45 // transform choose statements into switch statements46 ChooseMutator chmut;47 47 48 48 // expand case ranges and turn fallthru into a null statement … … 53 53 54 54 mutateAll( translationUnit, formut ); 55 mutateAll( translationUnit, chmut ); 55 56 acceptAll( translationUnit, lfix ); 56 mutateAll( translationUnit, chmut );57 57 mutateAll( translationUnit, ranges ); 58 58 //mutateAll( translationUnit, exc );
Note: See TracChangeset
for help on using the changeset viewer.