Changes in src/main.cc [c6b4432:61efa42]
- File:
-
- 1 edited
-
src/main.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
rc6b4432 r61efa42 250 250 251 251 parse_cmdline( argc, argv ); // process command-line arguments 252 CodeGen::FixMain::setReplaceMain( !nomainp );253 252 254 253 if ( waiting_for_gdb ) { … … 394 393 PASS( "Translate Tries", ControlStruct::translateTries, transUnit ); 395 394 PASS( "Gen Waitfor", Concurrency::generateWaitFor, transUnit ); 395 PASS( "Fix Main Linkage", CodeGen::fixMainLinkage, transUnit, !nomainp ); 396 396 397 397 // Needs to happen before tuple types are expanded. … … 421 421 422 422 PASS( "Code Gen", CodeGen::generate, transUnit, *output, !genproto, prettycodegenp, true, linemarks, false ); 423 424 CodeGen::FixMain::fix( transUnit, *output, (PreludeDirector + "/bootloader.c").c_str() ); 423 CodeGen::fixMainInvoke( transUnit, *output, (PreludeDirector + "/bootloader.c").c_str() ); 424 425 425 if ( output != &cout ) { 426 426 delete output;
Note:
See TracChangeset
for help on using the changeset viewer.