Changeset 65197c2 for src/CodeGen


Ignore:
Timestamp:
Dec 5, 2017, 2:17:17 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
971d9f2, a85e44c, c13e8dc8
Parents:
12d2dc8 (diff), 866f560 (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
src/CodeGen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.cc

    r12d2dc8 r65197c2  
    10121012        }
    10131013
     1014        void CodeGenerator::postvisit( WithStmt * with ) {
     1015                if ( ! genC ) {
     1016                        output << "with ( ";
     1017                        genCommaList( with->exprs.begin(), with->exprs.end() );
     1018                        output << " ) ";
     1019                }
     1020                with->stmt->accept( *visitor );
     1021        }
    10141022
    10151023        void CodeGenerator::postvisit( WhileStmt * whileStmt ) {
  • src/CodeGen/CodeGenerator.h

    r12d2dc8 r65197c2  
    102102                void postvisit( CatchStmt * );
    103103                void postvisit( WaitForStmt * );
     104                void postvisit( WithStmt * );
    104105                void postvisit( WhileStmt * );
    105106                void postvisit( ForStmt * );
Note: See TracChangeset for help on using the changeset viewer.