Ignore:
Timestamp:
Feb 14, 2017, 1:19:28 PM (9 years ago)
Author:
Aaron Moss <a3moss@…>
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:
97d246d
Parents:
f923b5f (diff), eafb094 (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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.cc

    rf923b5f rd3a804f5  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Feb  1 14:09:02 2017
    13 // Update Count     : 416
     12// Last Modified On : Thu Feb  9 15:05:18 2017
     13// Update Count     : 417
    1414//
    1515
     
    765765        }
    766766
     767        void CodeGenerator::visit( AsmDecl * asmDecl ) {
     768                output << "asm ";
     769                AsmStmt * asmStmt = asmDecl->get_stmt();
     770                output << "( ";
     771                if ( asmStmt->get_instruction() ) asmStmt->get_instruction()->accept( *this );
     772                output << " )" ;
     773        }
     774
    767775        void CodeGenerator::visit( IfStmt * ifStmt ) {
    768776                output << "if ( ";
Note: See TracChangeset for help on using the changeset viewer.