Changeset 09a1ae6 for src/ResolvExpr


Ignore:
Timestamp:
Apr 12, 2018, 11:57:51 AM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env, with_gc
Children:
f229fc2
Parents:
34dcc474
Message:

Fix some missing static roots -- GC'd CFA-CC now builds prelude

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    r34dcc474 r09a1ae6  
    3535#include "ResolveTypeof.h"         // for resolveTypeof
    3636#include "Resolver.h"              // for resolveStmtExpr
     37#include "Common/GC.h"             // for new_static_root
    3738#include "SymTab/Indexer.h"        // for Indexer
    3839#include "SymTab/Mangler.h"        // for Mangler
     
    10841085
    10851086                // find function operators
    1086                 static NameExpr *opExpr = new NameExpr( "?()" );
     1087                static auto *opExpr = new_static_root<NameExpr>( "?()" );
    10871088                AlternativeFinder funcOpFinder( indexer, env );
    10881089                // it's ok if there aren't any defined function ops
Note: See TracChangeset for help on using the changeset viewer.