Changeset d3652df for src/main.cc


Ignore:
Timestamp:
Oct 8, 2023, 10:31:26 AM (9 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
4817662
Parents:
be8ee65
Message:

Took the new EraseWith? pass out of the box pass. It might be able to go even earlier or folded into an existing pass. C code generation now will not generate WithStmt? nodes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    rbe8ee65 rd3652df  
    6262#include "Parser/RunParser.hpp"             // for buildList, dumpParseTree,...
    6363#include "ResolvExpr/CandidatePrinter.hpp"  // for printCandidates
     64#include "ResolvExpr/EraseWith.hpp"         // for eraseWith
    6465#include "ResolvExpr/Resolver.h"            // for resolve
    6566#include "SynTree/LinkageSpec.h"            // for Spec, Cforall, Intrinsic
     
    396397
    397398                PASS( "Fix Init", InitTweak::fix, transUnit, buildingLibrary() );
     399                PASS( "Erase With", ResolvExpr::eraseWith, transUnit );
    398400
    399401                // fix ObjectDecl - replaces ConstructorInit nodes
Note: See TracChangeset for help on using the changeset viewer.