Changeset ed1a6374 for src/ResolvExpr/RenameVars.cc
- Timestamp:
- Jan 5, 2021, 2:51:58 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- f03209d3
- Parents:
- c4241b6 (diff), 95eec2c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/ResolvExpr/RenameVars.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/RenameVars.cc
rc4241b6 red1a6374 186 186 } 187 187 188 const ast::Type * renameTyVars( const ast::Type * t, RenameMode mode ) {188 const ast::Type * renameTyVars( const ast::Type * t, RenameMode mode, bool reset ) { 189 189 // ast::Type *tc = ast::deepCopy(t); 190 190 ast::Pass<RenameVars_new> renamer; 191 191 renamer.core.mode = mode; 192 if (mode == GEN_USAGE ) {192 if (mode == GEN_USAGE && reset) { 193 193 renaming.nextUsage(); 194 194 } … … 198 198 void resetTyVarRenaming() { 199 199 renaming.reset(); 200 renaming.nextUsage(); 200 201 } 201 202
Note:
See TracChangeset
for help on using the changeset viewer.