Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    r4e06c1e rf1b1e4c  
    99// Author           : Richard C. Bilson
    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:51:19 2016
    13 // Update Count     : 17
     11// Last Modified By : Rob Schluntz
     12// Last Modified On : Wed Apr 27 17:07:29 2016
     13// Update Count     : 16
    1414//
    1515
     
    130130}
    131131
     132Statement *Mutator::mutate( ChooseStmt *switchStmt ) {
     133        switchStmt->set_condition( maybeMutate( switchStmt->get_condition(), *this ) );
     134        mutateAll( switchStmt->get_branches(), *this );
     135        return switchStmt;
     136}
     137
     138Statement *Mutator::mutate( FallthruStmt *fallthruStmt ) {
     139        return fallthruStmt;
     140}
     141
    132142Statement *Mutator::mutate( CaseStmt *caseStmt ) {
    133143        caseStmt->set_condition( maybeMutate( caseStmt->get_condition(), *this ) );
Note: See TracChangeset for help on using the changeset viewer.