Changeset 8d7bef2 for src/Concurrency


Ignore:
Timestamp:
Mar 20, 2018, 5:12:25 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env, with_gc
Children:
7e4b44db
Parents:
68f9c43
Message:

First compiling build of CFA-CC with GC

Location:
src/Concurrency
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/Keywords.cc

    r68f9c43 r8d7bef2  
    200200                StructDecl* dtor_guard_decl = nullptr;
    201201
    202                 static std::unique_ptr< Type > generic_func;
     202                static Type* generic_func;
    203203        };
    204204
    205         std::unique_ptr< Type > MutexKeyword::generic_func = std::unique_ptr< Type >(
    206                 new FunctionType(
    207                         noQualifiers,
    208                         true
    209                 )
    210         );
     205        Type* MutexKeyword::generic_func = new FunctionType{ noQualifiers, true };
    211206
    212207        //-----------------------------------------------------------------------------
  • src/Concurrency/Waitfor.cc

    r68f9c43 r8d7bef2  
    137137                StructDecl          * decl_acceptable = nullptr;
    138138                StructDecl          * decl_monitor    = nullptr;
    139 
    140                 static std::unique_ptr< Type > generic_func;
    141139
    142140                UniqueName namer_acc = "__acceptables_"s;
Note: See TracChangeset for help on using the changeset viewer.