Changes in src/main.cc [33b7d49:5f3ba11]
- File:
-
- 1 edited
-
src/main.cc (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r33b7d49 r5f3ba11 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Fri Mar 11 10:39:00 202213 // Update Count : 6 7112 // Last Modified On : Tue Nov 30 10:25:00 2021 13 // Update Count : 659 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" // hoistControlDecls58 57 #include "ControlStruct/Mutate.h" // for mutate 59 58 #include "GenPoly/Box.h" // for box … … 74 73 #include "SynTree/Visitor.h" // for acceptAll 75 74 #include "Tuples/Tuples.h" // for expandMemberTuples, expan... 76 #include "Validate/Autogen.hpp" // for autogenerateRoutines77 75 #include "Validate/FindSpecialDecls.h" // for findGlobalDecls 78 #include "Validate/ForallPointerDecay.hpp" // for decayForallPointers79 76 #include "Validate/CompoundLiteral.hpp" // for handleCompoundLiterals 80 77 #include "Validate/InitializerLength.hpp" // for setLengthFromInitializer 81 78 #include "Validate/LabelAddressFixer.hpp" // for fixLabelAddresses 82 79 #include "Virtual/ExpandCasts.h" // for expandCasts 80 83 81 84 82 static void NewPass( const char * const name ) { … … 328 326 PASS( "Validate-B", SymTab::validate_B( translationUnit ) ); 329 327 PASS( "Validate-C", SymTab::validate_C( translationUnit ) ); 328 PASS( "Validate-D", SymTab::validate_D( translationUnit ) ); 330 329 331 330 CodeTools::fillLocations( translationUnit ); 332 331 333 332 if( useNewAST ) { 334 CodeTools::fillLocations( translationUnit );335 336 333 if (Stats::Counters::enabled) { 337 334 ast::pass_visitor_stats.avg = Stats::Counters::build<Stats::Counters::AverageCounter<double>>("Average Depth - New"); … … 341 338 342 339 forceFillCodeLocations( transUnit ); 343 344 PASS( "Implement Concurrent Keywords", Concurrency::implementKeywords( transUnit ) );345 346 // Must be after implement concurrent keywords; because uniqueIds347 // 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 ) );357 340 358 341 PASS( "Implement Mutex", Concurrency::implementMutex( transUnit ) ); … … 426 409 translationUnit = convert( move( transUnit ) ); 427 410 } else { 428 PASS( "Validate-D", SymTab::validate_D( translationUnit ) );429 411 PASS( "Validate-E", SymTab::validate_E( translationUnit ) ); 430 412 PASS( "Validate-F", SymTab::validate_F( translationUnit ) ); … … 493 475 PASS( "Translate Tries" , ControlStruct::translateTries( translationUnit ) ); 494 476 } 477 478 495 479 496 480 PASS( "Gen Waitfor" , Concurrency::generateWaitFor( translationUnit ) );
Note:
See TracChangeset
for help on using the changeset viewer.