Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/Mutate.cc

    r4e06c1e r982d63f  
    99// Author           : Rodolfo G. Esteves
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jul 12 17:37:45 2016
    13 // Update Count     : 8
     11// Last Modified By : Rob Schluntz
     12// Last Modified On : Wed Jul 15 14:50:04 2015
     13// Update Count     : 7
    1414//
    1515
     
    2020
    2121#include "Mutate.h"
     22#include "ChooseMutator.h"
    2223#include "LabelFixer.h"
    2324#include "MLEMutator.h"
     
    3839                ForExprMutator formut;
    3940
    40                 // normalizes label definitions and generates multi-level exit labels
     41                // transform choose statements into switch statements
     42                ChooseMutator chmut;
     43
     44                // normalizes label definitions and generates multi-level
     45                // exit labels
    4146                LabelFixer lfix;
    4247
    4348                // expand case ranges and turn fallthru into a null statement
    44                 CaseRangeMutator ranges;
     49                CaseRangeMutator ranges;  // has to run after ChooseMutator
    4550
    4651                //ExceptMutator exc;
     
    4853
    4954                mutateAll( translationUnit, formut );
     55                mutateAll( translationUnit, chmut );
    5056                acceptAll( translationUnit, lfix );
    5157                mutateAll( translationUnit, ranges );
Note: See TracChangeset for help on using the changeset viewer.