Ignore:
Timestamp:
Feb 9, 2017, 3:17:29 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
6ef2d81, a073d46
Parents:
ea23d10
Message:

code generation for external asm statement (declaration)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    rea23d10 re994912  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Aug  4 11:23:21 2016
    13 // Update Count     : 19
     12// Last Modified On : Thu Feb  9 14:22:56 2017
     13// Update Count     : 20
    1414//
    1515
     
    8686}
    8787
     88AsmDecl *Mutator::mutate( AsmDecl *asmDecl ) {
     89        asmDecl->set_stmt( maybeMutate( asmDecl->get_stmt(), *this ) );
     90        return asmDecl;
     91}
     92
     93
    8894CompoundStmt *Mutator::mutate( CompoundStmt *compoundStmt ) {
    8995        mutateAll( compoundStmt->get_kids(), *this );
     
    177183        return impCtorDtorStmt;
    178184}
     185
    179186
    180187Expression *Mutator::mutate( ApplicationExpr *applicationExpr ) {
     
    433440}
    434441
     442
    435443Type *Mutator::mutate( VoidType *voidType ) {
    436444        mutateAll( voidType->get_forall(), *this );
     
    533541}
    534542
     543
    535544Initializer *Mutator::mutate( SingleInit *singleInit ) {
    536545        singleInit->set_value( singleInit->get_value()->acceptMutator( *this ) );
     
    551560}
    552561
     562
    553563Subrange *Mutator::mutate( Subrange *subrange ) {
    554564        return subrange;
    555565}
     566
    556567
    557568Constant *Mutator::mutate( Constant *constant ) {
Note: See TracChangeset for help on using the changeset viewer.