Changes in src/main.cc [cf3da24:62c6cfa]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
rcf3da24 r62c6cfa 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Sep 28 22:28:45202313 // Update Count : 68 712 // Last Modified On : Mon Apr 10 21:12:17 2023 13 // Update Count : 682 14 14 // 15 15 … … 46 46 #include "Common/utility.h" // for deleteAll, filter, printAll 47 47 #include "Concurrency/Actors.hpp" // for implementActors 48 #include "Concurrency/Corun.hpp" // for implementCorun49 48 #include "Concurrency/Keywords.h" // for implementMutex, implement... 50 49 #include "Concurrency/Waitfor.h" // for generateWaitfor … … 63 62 #include "Parser/RunParser.hpp" // for buildList, dumpParseTree,... 64 63 #include "ResolvExpr/CandidatePrinter.hpp" // for printCandidates 65 #include "ResolvExpr/EraseWith.hpp" // for eraseWith66 64 #include "ResolvExpr/Resolver.h" // for resolve 67 65 #include "SynTree/LinkageSpec.h" // for Spec, Cforall, Intrinsic … … 346 344 PASS( "Implement Concurrent Keywords", Concurrency::implementKeywords, transUnit ); 347 345 PASS( "Fix Unique Ids", Validate::fixUniqueIds, transUnit ); 348 PASS( "Implement Corun", Concurrency::implementCorun, transUnit );349 346 PASS( "Hoist Control Declarations", ControlStruct::hoistControlDecls, transUnit ); 350 347 … … 399 396 400 397 PASS( "Fix Init", InitTweak::fix, transUnit, buildingLibrary() ); 401 PASS( "Erase With", ResolvExpr::eraseWith, transUnit );402 398 403 399 // fix ObjectDecl - replaces ConstructorInit nodes … … 423 419 424 420 PASS( "Convert L-Value", GenPoly::convertLvalue, transUnit ); 425 DUMP( bboxp, std::move( transUnit ) );426 PASS( "Box", GenPoly::box, transUnit );427 PASS( "Link-Once", CodeGen::translateLinkOnce, transUnit );428 421 429 422 translationUnit = convert( std::move( transUnit ) ); 423 424 DUMP( bboxp, translationUnit ); 425 PASS( "Box", GenPoly::box, translationUnit ); 426 427 PASS( "Link-Once", CodeGen::translateLinkOnce, translationUnit ); 430 428 431 429 // Code has been lowered to C, now we can start generation. … … 542 540 { "ascodegen", codegenp, true, "print AST as codegen rather than AST" }, 543 541 { "asterr", errorp, true, "print AST on error" }, 544 { "declstats", declstatsp, true, " printcode property statistics" },545 { "parse", yydebug, true, " printyacc (parsing) debug information" },542 { "declstats", declstatsp, true, "code property statistics" }, 543 { "parse", yydebug, true, "yacc (parsing) debug information" }, 546 544 { "pretty", prettycodegenp, true, "prettyprint for ascodegen flag" }, 547 545 { "rproto", resolvprotop, true, "resolver-proto instance" }, 548 546 { "rsteps", resolvep, true, "print resolver steps" }, 549 // ASTdumps547 // code dumps 550 548 { "ast", astp, true, "print AST after parsing" }, 551 { "ex cpdecl", exdeclp, true, "print AST after translating exception decls" },549 { "exdecl", exdeclp, true, "print AST after translating exception decls" }, 552 550 { "symevt", symtabp, true, "print AST after symbol table events" }, 553 { " expralt", expraltp, true, "print AST after expressions alternatives" },554 { " valdecl", validp, true, "print AST after declaration validation pass" },555 { " bresolver", bresolvep, true, "print AST before resolver step" },556 { " expranly", exprp, true, "print AST after expression analysis" },551 { "altexpr", expraltp, true, "print alternatives for expressions" }, 552 { "astdecl", validp, true, "print AST after declaration validation pass" }, 553 { "resolver", bresolvep, true, "print AST before resolver step" }, 554 { "astexpr", exprp, true, "print AST after expression analysis" }, 557 555 { "ctordtor", ctorinitp, true, "print AST after ctor/dtor are replaced" }, 558 556 { "tuple", tuplep, true, "print AST after tuple expansion" }, 559 { " instgen", genericsp, true, "print AST after instantiate generics" },560 { "b box", bboxp, true, "print AST before box pass" },561 { " bcodegen", bcodegenp, true, "print AST before code generation" },557 { "astgen", genericsp, true, "print AST after instantiate generics" }, 558 { "box", bboxp, true, "print AST before box step" }, 559 { "codegen", bcodegenp, true, "print AST before code generation" }, 562 560 }; 563 561 enum { printoptsSize = sizeof( printopts ) / sizeof( printopts[0] ) };
Note:
See TracChangeset
for help on using the changeset viewer.