Ignore:
Timestamp:
Mar 22, 2018, 4:49:53 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env, with_gc
Children:
dbc2c2c
Parents:
7e4b44db
Message:

Add static roots to GC; fix some static GC_Objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/Keywords.cc

    r7e4b44db rbd06384  
    1919#include <string>                  // for string, operator==
    2020
     21#include "Common/GC.h"             // for new_static_root
    2122#include "Common/PassVisitor.h"    // for PassVisitor
    2223#include "Common/SemanticError.h"  // for SemanticError
     
    203204        };
    204205
    205         Type* MutexKeyword::generic_func = new FunctionType{ noQualifiers, true };
     206        Type* MutexKeyword::generic_func = new_static_root<FunctionType>( noQualifiers, true );
    206207
    207208        //-----------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.