Changeset ed96731 for src/Concurrency
- Timestamp:
- Nov 18, 2024, 3:43:38 PM (2 months ago)
- Branches:
- master
- Children:
- 29075d1
- Parents:
- 0dffe91
- Location:
- src/Concurrency
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Actors.cpp
r0dffe91 red96731 194 194 // collects data needed for next pass that does the circular defn resolution 195 195 // for message send operators (via table above) 196 struct GenFuncsCreateTables : public ast::WithDeclsToAdd <>{196 struct GenFuncsCreateTables : public ast::WithDeclsToAdd { 197 197 unordered_set<const StructDecl *> & actorStructDecls; 198 198 unordered_set<const StructDecl *> & messageStructDecls; … … 451 451 // separate pass is needed since this pass resolves circular defn issues 452 452 // generates the forward declarations of the send operator for actor routines 453 struct FwdDeclOperator : public ast::WithDeclsToAdd <>{453 struct FwdDeclOperator : public ast::WithDeclsToAdd { 454 454 unordered_set<const StructDecl *> & actorStructDecls; 455 455 unordered_set<const StructDecl *> & messageStructDecls; -
src/Concurrency/Corun.cpp
r0dffe91 red96731 25 25 namespace Concurrency { 26 26 27 struct CorunKeyword : public WithDeclsToAdd <>, public WithStmtsToAdd<>{27 struct CorunKeyword : public WithDeclsToAdd, public WithStmtsToAdd { 28 28 UniqueName CorunFnNamer = "__CFA_corun_lambda_"s; 29 29 UniqueName CoforFnNamer = "__CFA_cofor_lambda_"s; -
src/Concurrency/Keywords.cpp
r0dffe91 red96731 117 117 118 118 // -------------------------------------------------------------------------- 119 struct ConcurrentSueKeyword : public ast::WithDeclsToAdd <>{119 struct ConcurrentSueKeyword : public ast::WithDeclsToAdd { 120 120 ConcurrentSueKeyword( 121 121 std::string&& type_name, std::string&& field_name, … … 639 639 // -------------------------------------------------------------------------- 640 640 struct SuspendKeyword final : 641 public ast::WithStmtsToAdd <>, public ast::WithGuards {641 public ast::WithStmtsToAdd, public ast::WithGuards { 642 642 SuspendKeyword() = default; 643 643 virtual ~SuspendKeyword() = default; … … 860 860 861 861 // -------------------------------------------------------------------------- 862 struct MutexKeyword final : public ast::WithDeclsToAdd <>{862 struct MutexKeyword final : public ast::WithDeclsToAdd { 863 863 const ast::FunctionDecl * postvisit( const ast::FunctionDecl * decl ); 864 864 void postvisit( const ast::StructDecl * decl ); -
src/Concurrency/Waituntil.cpp
r0dffe91 red96731 1398 1398 // To add the predicates at global scope we need to do it in a second pass 1399 1399 // Predicates are added after "struct select_node { ... };" 1400 class AddPredicateDecls final : public WithDeclsToAdd <>{1400 class AddPredicateDecls final : public WithDeclsToAdd { 1401 1401 vector<FunctionDecl *> & satFns; 1402 1402 const StructDecl * selectNodeDecl = nullptr;
Note: See TracChangeset
for help on using the changeset viewer.