Changeset 9f5ecf5 for src/Concurrency
- Timestamp:
- Sep 13, 2017, 2:14:55 PM (7 years ago)
- 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:
- e3e16bc
- Parents:
- 9dcb653
- Location:
- src/Concurrency
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/Concurrency/Keywords.cc ¶
r9dcb653 r9f5ecf5 259 259 //============================================================================================= 260 260 void ConcurrentSueKeyword::postvisit(StructDecl * decl) { 261 if( decl-> get_name() == type_name && decl->has_body()) {261 if( decl->name == type_name && decl->body ) { 262 262 assert( !type_decl ); 263 263 type_decl = decl; … … 270 270 271 271 void ConcurrentSueKeyword::handle( StructDecl * decl ) { 272 if( ! decl-> has_body()) return;272 if( ! decl->body ) return; 273 273 274 274 if( !type_decl ) throw SemanticError( context_error, decl ); … … 418 418 void MutexKeyword::postvisit(StructDecl* decl) { 419 419 420 if( decl-> get_name()== "monitor_desc" ) {420 if( decl->name == "monitor_desc" ) { 421 421 assert( !monitor_decl ); 422 422 monitor_decl = decl; 423 423 } 424 else if( decl-> get_name()== "monitor_guard_t" ) {424 else if( decl->name == "monitor_guard_t" ) { 425 425 assert( !guard_decl ); 426 426 guard_decl = decl; … … 524 524 //============================================================================================= 525 525 void ThreadStarter::postvisit(FunctionDecl * decl) { 526 if( ! CodeGen::isConstructor(decl-> get_name()) ) return;526 if( ! CodeGen::isConstructor(decl->name) ) return; 527 527 528 528 DeclarationWithType * param = decl->get_functionType()->get_parameters().front(); -
TabularUnified src/Concurrency/module.mk ¶
r9dcb653 r9f5ecf5 6 6 ## file "LICENCE" distributed with Cforall. 7 7 ## 8 ## module.mk -- 8 ## module.mk -- 9 9 ## 10 10 ## Author : Thierry Delisle 11 11 ## Created On : Mon Mar 13 12:48:40 2017 12 ## Last Modified By : 13 ## Last Modified On : 12 ## Last Modified By : 13 ## Last Modified On : 14 14 ## Update Count : 0 15 15 ############################################################################### 16 16 17 SRC += Concurrency/Keywords.cc 17 SRC += Concurrency/Keywords.cc \ 18 Concurrency/Waitfor.cc 18 19
Note: See TracChangeset
for help on using the changeset viewer.