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/CodeGen/CodeGenerator.cc

    r982d63f r4b2589a  
    750750        void CodeGenerator::visit( ReturnStmt *returnStmt ) {
    751751                output << "return ";
    752 
    753                 // xxx -- check for null expression;
    754                 if ( returnStmt->get_expr() ) {
    755                         returnStmt->get_expr()->accept( *this );
    756                 } // if
     752                maybeAccept( returnStmt->get_expr(), *this );
    757753                output << ";";
    758754        }
Note: See TracChangeset for help on using the changeset viewer.