Changeset 615a096 for src/Concurrency


Ignore:
Timestamp:
Mar 17, 2017, 9:58:23 AM (7 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:
409433da, 946bcca
Parents:
395fc37
Message:

fix BFCommon problem on gcc-4.9, and begin consistent renaming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/Keywords.cc

    r395fc37 r615a096  
    1212// Last Modified By :
    1313// Last Modified On :
    14 // Update Count     : 1
     14// Update Count     : 3
    1515//
    1616
     
    154154                        //Find mutex arguments
    155155                        Type* ty = arg->get_type();
    156                         if( ! ty->get_qualifiers().isMutex ) continue;
     156                        if( ! ty->get_mutex() ) continue;
    157157
    158158                        //Append it to the list
     
    175175
    176176                //Make sure that typed isn't mutex
    177                 if( ! base->get_qualifiers().isMutex ) throw SemanticError( "mutex keyword may only appear once per argument ", arg );
     177                if( ! base->get_mutex() ) throw SemanticError( "mutex keyword may only appear once per argument ", arg );
    178178        }
    179179
Note: See TracChangeset for help on using the changeset viewer.