Changeset 6a896b0 for src/main.cc
- Timestamp:
- Jul 18, 2022, 11:27:06 AM (14 months ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- efcd8f2
- Parents:
- 847bb6f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r847bb6f r6a896b0 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Tue Jul 12 12:02:00 202213 // Update Count : 67 512 // Last Modified On : Mon Jul 18 11:08:00 2022 13 // Update Count : 676 14 14 // 15 15 … … 330 330 Stats::Time::StopBlock(); 331 331 332 PASS( "Translate Exception Declarations", ControlStruct::translateExcept( translationUnit ) );333 if ( exdeclp ) {334 dump( translationUnit );335 return EXIT_SUCCESS;336 } // if337 338 CodeTools::fillLocations( translationUnit );339 340 332 if( useNewAST ) { 341 CodeTools::fillLocations( translationUnit );342 343 333 if (Stats::Counters::enabled) { 344 334 ast::pass_visitor_stats.avg = Stats::Counters::build<Stats::Counters::AverageCounter<double>>("Average Depth - New"); … … 348 338 349 339 forceFillCodeLocations( transUnit ); 340 341 PASS( "Translate Exception Declarations", ControlStruct::translateExcept( transUnit ) ); 342 if ( exdeclp ) { 343 dump( move( transUnit ) ); 344 return EXIT_SUCCESS; 345 } 350 346 351 347 // Must happen before auto-gen, or anything that examines ops. … … 473 469 translationUnit = convert( move( transUnit ) ); 474 470 } else { 471 PASS( "Translate Exception Declarations", ControlStruct::translateExcept( translationUnit ) ); 472 if ( exdeclp ) { 473 dump( translationUnit ); 474 return EXIT_SUCCESS; 475 } // if 476 475 477 // add the assignment statement after the initialization of a type parameter 476 478 PASS( "Validate", SymTab::validate( translationUnit ) );
Note: See TracChangeset
for help on using the changeset viewer.