Changes in src/main.cc [9490621:5f3ba11]
- File:
-
- 1 edited
-
src/main.cc (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r9490621 r5f3ba11 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed Jan 26 14:09:00 202213 // Update Count : 6 7012 // Last Modified On : Tue Nov 30 10:25:00 2021 13 // Update Count : 659 14 14 // 15 15 … … 32 32 33 33 #include "AST/Convert.hpp" 34 #include "AST/Print.hpp"35 34 #include "CompilationState.h" 36 35 #include "../config.h" // for CFA_LIBDIR … … 56 55 #include "ControlStruct/ExceptTranslate.h" // for translateEHM 57 56 #include "ControlStruct/FixLabels.hpp" // for fixLabels 58 #include "ControlStruct/HoistControlDecls.hpp" // hoistControlDecls59 57 #include "ControlStruct/Mutate.h" // for mutate 60 58 #include "GenPoly/Box.h" // for box … … 75 73 #include "SynTree/Visitor.h" // for acceptAll 76 74 #include "Tuples/Tuples.h" // for expandMemberTuples, expan... 77 #include "Validate/Autogen.hpp" // for autogenerateRoutines78 75 #include "Validate/FindSpecialDecls.h" // for findGlobalDecls 79 #include "Validate/ForallPointerDecay.hpp" // for decayForallPointers80 76 #include "Validate/CompoundLiteral.hpp" // for handleCompoundLiterals 81 77 #include "Validate/InitializerLength.hpp" // for setLengthFromInitializer 82 78 #include "Validate/LabelAddressFixer.hpp" // for fixLabelAddresses 83 79 #include "Virtual/ExpandCasts.h" // for expandCasts 80 84 81 85 82 static void NewPass( const char * const name ) { … … 329 326 PASS( "Validate-B", SymTab::validate_B( translationUnit ) ); 330 327 PASS( "Validate-C", SymTab::validate_C( translationUnit ) ); 328 PASS( "Validate-D", SymTab::validate_D( translationUnit ) ); 331 329 332 330 CodeTools::fillLocations( translationUnit ); 333 331 334 332 if( useNewAST ) { 335 PASS( "Implement Concurrent Keywords", Concurrency::applyKeywords( translationUnit ) );336 //PASS( "Forall Pointer Decay - A", SymTab::decayForallPointersA( translationUnit ) );337 //PASS( "Forall Pointer Decay - B", SymTab::decayForallPointersB( translationUnit ) );338 //PASS( "Forall Pointer Decay - C", SymTab::decayForallPointersC( translationUnit ) );339 //PASS( "Forall Pointer Decay - D", SymTab::decayForallPointersD( translationUnit ) );340 CodeTools::fillLocations( translationUnit );341 342 333 if (Stats::Counters::enabled) { 343 334 ast::pass_visitor_stats.avg = Stats::Counters::build<Stats::Counters::AverageCounter<double>>("Average Depth - New"); … … 347 338 348 339 forceFillCodeLocations( transUnit ); 349 350 // Must be after implement concurrent keywords; because uniqueIds351 // must be set on declaration before resolution.352 // Must happen before autogen routines are added.353 PASS( "Forall Pointer Decay", Validate::decayForallPointers( transUnit ) );354 355 // Must happen before autogen routines are added.356 PASS( "Hoist Control Declarations", ControlStruct::hoistControlDecls( transUnit ) );357 358 // Must be after enum and pointer decay.359 // Must be before compound literals.360 PASS( "Generate Autogen Routines", Validate::autogenerateRoutines( transUnit ) );361 340 362 341 PASS( "Implement Mutex", Concurrency::implementMutex( transUnit ) ); … … 430 409 translationUnit = convert( move( transUnit ) ); 431 410 } else { 432 PASS( "Validate-D", SymTab::validate_D( translationUnit ) );433 411 PASS( "Validate-E", SymTab::validate_E( translationUnit ) ); 434 412 PASS( "Validate-F", SymTab::validate_F( translationUnit ) );
Note:
See TracChangeset
for help on using the changeset viewer.