Changeset 4b2589a for src/ControlStruct


Ignore:
Timestamp:
Jun 29, 2016, 12:41:56 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
85f0713
Parents:
982d63f
Message:

clean up comments, remove dead code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/MLEMutator.cc

    r982d63f r4b2589a  
    166166                        throw SemanticError("The label defined in the exit loop statement does not exist: " + originalTarget );  // shouldn't happen (since that's already checked)
    167167                }
    168 
    169                 // xxx - possibly remove this
    170                 // what about exiting innermost block or switch???
    171                 // if ( enclosingControlStructures.back() == (*targetEntry) )
    172                 //      return branchStmt;                              // exit the innermost loop (labels unnecessary)
    173168
    174169                // branch error checks, get the appropriate label name and create a goto
Note: See TracChangeset for help on using the changeset viewer.