Changeset 7c70089 for src/Concurrency


Ignore:
Timestamp:
Mar 17, 2017, 1:36:27 PM (7 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:
31ce3d6
Parents:
b32ada31 (diff), 946bcca (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/Concurrency/Keywords.cc

    rb32ada31 r7c70089  
    1212// Last Modified By :
    1313// Last Modified On :
    14 // Update Count     : 1
     14// Update Count     : 3
    1515//
    1616
     
    264264                        //Find mutex arguments
    265265                        Type* ty = arg->get_type();
    266                         if( ! ty->get_qualifiers().isMutex ) continue;
     266                        if( ! ty->get_mutex() ) continue;
    267267
    268268                        //Append it to the list
     
    285285
    286286                //Make sure that typed isn't mutex
    287                 if( base->get_qualifiers().isMutex ) throw SemanticError( "mutex keyword may only appear once per argument ", arg );
     287                if( ! base->get_mutex() ) throw SemanticError( "mutex keyword may only appear once per argument ", arg );
    288288        }
    289289
Note: See TracChangeset for help on using the changeset viewer.