Changeset e39aa0f for src/ControlStruct/MLEMutator.h
- Timestamp:
- Jun 28, 2016, 3:33:01 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, with_gc
- Children:
- 4dcea3f
- Parents:
- 888cbe4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/MLEMutator.h
r888cbe4 re39aa0f 56 56 bool operator!=( const Statement *stmt ) { return ( loop != stmt ); } 57 57 58 bool operator==( const Entry &other ) { return ( loop == other.get_ loop() ); }58 bool operator==( const Entry &other ) { return ( loop == other.get_controlStructure() ); } 59 59 60 Statement *get_ loop() const { return loop; }60 Statement *get_controlStructure() const { return loop; } 61 61 62 62 Label useContExit() { contUsed = true; return contExit; } … … 73 73 74 74 std::map< Label, Statement * > *targetTable; 75 std::list< Entry > enclosing Blocks, enclosingLoops, enclosingSwitches;75 std::list< Entry > enclosingControlStructures; 76 76 Label breakLabel; 77 77 LabelGenerator *generator;
Note: See TracChangeset
for help on using the changeset viewer.