Changeset 2cf3b87
- Timestamp:
- Nov 30, 2021, 11:27:30 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- f27331c
- Parents:
- 03cdad6
- Location:
- src
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Keywords.h
r03cdad6 r2cf3b87 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Keywords.h -- 7 // Keywords.h -- Implement concurrency constructs from their keywords. 8 8 // 9 9 // Author : Thierry Delisle … … 19 19 20 20 class Declaration; 21 namespace ast { 22 class TranslationUnit; 23 } 21 24 22 25 namespace Concurrency { … … 24 27 void implementMutexFuncs( std::list< Declaration * > & translationUnit ); 25 28 void implementThreadStarter( std::list< Declaration * > & translationUnit ); 29 30 /// Implement the sue-like keywords and the suspend keyword. 31 void implementKeywords( ast::TranslationUnit & translationUnit ); 32 /// Implement the mutex parameters and mutex statement. 33 void implementMutex( ast::TranslationUnit & translationUnit ); 34 /// Add the thread starter code to constructors. 35 void implementThreadStarter( ast::TranslationUnit & translationUnit ); 26 36 }; 27 37 -
src/Concurrency/module.mk
r03cdad6 r2cf3b87 15 15 ############################################################################### 16 16 17 SRC += Concurrency/Keywords.cc Concurrency/Keywords.h Concurrency/Waitfor.cc Concurrency/Waitfor.h 18 SRCDEMANGLE += Concurrency/Keywords.cc 17 SRC_CONCURRENCY = \ 18 Concurrency/KeywordsNew.cpp \ 19 Concurrency/Keywords.cc 19 20 21 SRC += $(SRC_CONCURRENCY) \ 22 Concurrency/Keywords.h \ 23 Concurrency/Waitfor.cc \ 24 Concurrency/Waitfor.h 25 26 SRCDEMANGLE += $(SRC_CONCURRENCY) 27 -
src/Validate/module.mk
r03cdad6 r2cf3b87 16 16 17 17 SRC_VALIDATE = \ 18 Validate/CompoundLiteral.cpp \ 19 Validate/CompoundLiteral.hpp \ 18 20 Validate/HandleAttributes.cc \ 19 21 Validate/HandleAttributes.h \ -
src/main.cc
r03cdad6 r2cf3b87 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Fri Nov 12 11:06:00 202113 // Update Count : 65 812 // Last Modified On : Tue Nov 30 10:25:00 2021 13 // Update Count : 659 14 14 // 15 15 … … 50 50 #include "Common/UnimplementedError.h" // for UnimplementedError 51 51 #include "Common/utility.h" // for deleteAll, filter, printAll 52 #include "Concurrency/Keywords.h" // for implementMutex, implement... 52 53 #include "Concurrency/Waitfor.h" // for generateWaitfor 53 54 #include "ControlStruct/ExceptDecl.h" // for translateExcept … … 73 74 #include "Tuples/Tuples.h" // for expandMemberTuples, expan... 74 75 #include "Validate/FindSpecialDecls.h" // for findGlobalDecls 76 #include "Validate/CompoundLiteral.hpp" // for handleCompoundLiterals 75 77 #include "Validate/InitializerLength.hpp" // for setLengthFromInitializer 76 78 #include "Validate/LabelAddressFixer.hpp" // for fixLabelAddresses … … 325 327 PASS( "Validate-C", SymTab::validate_C( translationUnit ) ); 326 328 PASS( "Validate-D", SymTab::validate_D( translationUnit ) ); 327 PASS( "Validate-E", SymTab::validate_E( translationUnit ) );328 329 329 330 CodeTools::fillLocations( translationUnit ); … … 338 339 forceFillCodeLocations( transUnit ); 339 340 341 PASS( "Implement Mutex", Concurrency::implementMutex( transUnit ) ); 342 PASS( "Implement Thread Start", Concurrency::implementThreadStarter( transUnit ) ); 343 PASS( "Compound Literal", Validate::handleCompoundLiterals( transUnit ) ); 340 344 PASS( "Set Length From Initializer", Validate::setLengthFromInitializer( transUnit ) ); 341 345 PASS( "Find Global Decls", Validate::findGlobalDecls( transUnit ) ); … … 402 406 translationUnit = convert( move( transUnit ) ); 403 407 } else { 408 PASS( "Validate-E", SymTab::validate_E( translationUnit ) ); 404 409 PASS( "Validate-F", SymTab::validate_F( translationUnit ) ); 405 410
Note: See TracChangeset
for help on using the changeset viewer.