Changes in src/main.cc [5f3ba11:33b7d49]
- File:
-
- 1 edited
-
src/main.cc (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r5f3ba11 r33b7d49 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Tue Nov 30 10:25:00 202113 // Update Count : 6 5912 // Last Modified On : Fri Mar 11 10:39:00 2022 13 // Update Count : 671 14 14 // 15 15 … … 55 55 #include "ControlStruct/ExceptTranslate.h" // for translateEHM 56 56 #include "ControlStruct/FixLabels.hpp" // for fixLabels 57 #include "ControlStruct/HoistControlDecls.hpp" // hoistControlDecls 57 58 #include "ControlStruct/Mutate.h" // for mutate 58 59 #include "GenPoly/Box.h" // for box … … 73 74 #include "SynTree/Visitor.h" // for acceptAll 74 75 #include "Tuples/Tuples.h" // for expandMemberTuples, expan... 76 #include "Validate/Autogen.hpp" // for autogenerateRoutines 75 77 #include "Validate/FindSpecialDecls.h" // for findGlobalDecls 78 #include "Validate/ForallPointerDecay.hpp" // for decayForallPointers 76 79 #include "Validate/CompoundLiteral.hpp" // for handleCompoundLiterals 77 80 #include "Validate/InitializerLength.hpp" // for setLengthFromInitializer 78 81 #include "Validate/LabelAddressFixer.hpp" // for fixLabelAddresses 79 82 #include "Virtual/ExpandCasts.h" // for expandCasts 80 81 83 82 84 static void NewPass( const char * const name ) { … … 326 328 PASS( "Validate-B", SymTab::validate_B( translationUnit ) ); 327 329 PASS( "Validate-C", SymTab::validate_C( translationUnit ) ); 328 PASS( "Validate-D", SymTab::validate_D( translationUnit ) );329 330 330 331 CodeTools::fillLocations( translationUnit ); 331 332 332 333 if( useNewAST ) { 334 CodeTools::fillLocations( translationUnit ); 335 333 336 if (Stats::Counters::enabled) { 334 337 ast::pass_visitor_stats.avg = Stats::Counters::build<Stats::Counters::AverageCounter<double>>("Average Depth - New"); … … 338 341 339 342 forceFillCodeLocations( transUnit ); 343 344 PASS( "Implement Concurrent Keywords", Concurrency::implementKeywords( transUnit ) ); 345 346 // Must be after implement concurrent keywords; because uniqueIds 347 // must be set on declaration before resolution. 348 // Must happen before autogen routines are added. 349 PASS( "Forall Pointer Decay", Validate::decayForallPointers( transUnit ) ); 350 351 // Must happen before autogen routines are added. 352 PASS( "Hoist Control Declarations", ControlStruct::hoistControlDecls( transUnit ) ); 353 354 // Must be after enum and pointer decay. 355 // Must be before compound literals. 356 PASS( "Generate Autogen Routines", Validate::autogenerateRoutines( transUnit ) ); 340 357 341 358 PASS( "Implement Mutex", Concurrency::implementMutex( transUnit ) ); … … 409 426 translationUnit = convert( move( transUnit ) ); 410 427 } else { 428 PASS( "Validate-D", SymTab::validate_D( translationUnit ) ); 411 429 PASS( "Validate-E", SymTab::validate_E( translationUnit ) ); 412 430 PASS( "Validate-F", SymTab::validate_F( translationUnit ) ); … … 475 493 PASS( "Translate Tries" , ControlStruct::translateTries( translationUnit ) ); 476 494 } 477 478 479 495 480 496 PASS( "Gen Waitfor" , Concurrency::generateWaitFor( translationUnit ) );
Note:
See TracChangeset
for help on using the changeset viewer.