Changeset 2e9b59b for src/main.cc
- Timestamp:
- Apr 19, 2022, 3:00:04 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 5b84a321
- Parents:
- ba897d21 (diff), bb7c77d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
rba897d21 r2e9b59b 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 : 67 012 // Last Modified On : Wed Apr 13 11:11:00 2022 13 // Update Count : 672 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 … … 76 75 #include "Tuples/Tuples.h" // for expandMemberTuples, expan... 77 76 #include "Validate/Autogen.hpp" // for autogenerateRoutines 77 #include "Validate/GenericParameter.hpp" // for fillGenericParameters, tr... 78 78 #include "Validate/FindSpecialDecls.h" // for findGlobalDecls 79 79 #include "Validate/ForallPointerDecay.hpp" // for decayForallPointers … … 81 81 #include "Validate/InitializerLength.hpp" // for setLengthFromInitializer 82 82 #include "Validate/LabelAddressFixer.hpp" // for fixLabelAddresses 83 #include "Validate/ReturnCheck.hpp" // for checkReturnStatements 83 84 #include "Virtual/ExpandCasts.h" // for expandCasts 84 85 … … 328 329 PASS( "Validate-A", SymTab::validate_A( translationUnit ) ); 329 330 PASS( "Validate-B", SymTab::validate_B( translationUnit ) ); 330 PASS( "Validate-C", SymTab::validate_C( translationUnit ) );331 331 332 332 CodeTools::fillLocations( translationUnit ); 333 333 334 334 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 335 CodeTools::fillLocations( translationUnit ); 341 336 … … 347 342 348 343 forceFillCodeLocations( transUnit ); 344 345 // Check as early as possible. Can't happen before 346 // LinkReferenceToType, observed failing when attempted 347 // before eliminateTypedef 348 PASS( "Validate Generic Parameters", Validate::fillGenericParameters( transUnit ) ); 349 350 PASS( "Translate Dimensions", Validate::translateDimensionParameters( transUnit ) ); 351 PASS( "Check Function Returns", Validate::checkReturnStatements( transUnit ) ); 352 353 // Must happen before Autogen. 354 PASS( "Fix Return Statements", InitTweak::fixReturnStatements( transUnit ) ); 355 356 PASS( "Implement Concurrent Keywords", Concurrency::implementKeywords( transUnit ) ); 349 357 350 358 // Must be after implement concurrent keywords; because uniqueIds … … 430 438 translationUnit = convert( move( transUnit ) ); 431 439 } else { 440 PASS( "Validate-C", SymTab::validate_C( translationUnit ) ); 432 441 PASS( "Validate-D", SymTab::validate_D( translationUnit ) ); 433 442 PASS( "Validate-E", SymTab::validate_E( translationUnit ) ); … … 497 506 PASS( "Translate Tries" , ControlStruct::translateTries( translationUnit ) ); 498 507 } 499 500 501 508 502 509 PASS( "Gen Waitfor" , Concurrency::generateWaitFor( translationUnit ) );
Note:
See TracChangeset
for help on using the changeset viewer.