Changeset 5ee153d
- Timestamp:
- Nov 8, 2021, 4:53:02 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- cc287800
- Parents:
- a5a08a05
- Location:
- src
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/ExceptTranslate.cc
ra5a08a05 r5ee153d 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Except Visitor.cc --7 // ExceptTranslate.cc -- Conversion of exception control flow structures. 8 8 // 9 9 // Author : Andrew Beach -
src/ControlStruct/ExceptTranslate.h
ra5a08a05 r5ee153d 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // ExceptTranslate.h -- 7 // ExceptTranslate.h -- Conversion of exception control flow structures. 8 8 // 9 9 // Author : Andrew Beach 10 10 // Created On : Tus Jun 06 10:13:00 2017 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Tus May 19 11:47:00 202013 // Update Count : 512 // Last Modified On : Mon Nov 8 11:43:00 2020 13 // Update Count : 6 14 14 // 15 15 … … 19 19 20 20 class Declaration; 21 namespace ast { 22 class TranslationUnit; 23 } 21 24 22 25 namespace ControlStruct { 23 26 void translateThrows( std::list< Declaration *> & translationUnit ); 27 void translateThrows( ast::TranslationUnit & transUnit ); 24 28 /* Replaces all throw & throwResume statements with function calls. 25 29 * These still need to be resolved, so call this before the reslover. -
src/ControlStruct/module.mk
ra5a08a05 r5ee153d 33 33 ControlStruct/Mutate.h 34 34 35 SRC += $(SRC_CONTROLSTRUCT) ControlStruct/ExceptTranslate.cc ControlStruct/ExceptTranslate.h 35 SRC += $(SRC_CONTROLSTRUCT) \ 36 ControlStruct/ExceptTranslateNew.cpp \ 37 ControlStruct/ExceptTranslate.cc \ 38 ControlStruct/ExceptTranslate.h 39 36 40 SRCDEMANGLE += $(SRC_CONTROLSTRUCT) 37 41 -
src/main.cc
ra5a08a05 r5ee153d 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Fri Oct 29 16:34:00 202113 // Update Count : 65 512 // Last Modified On : Mon Nov 8 11:42:00 2021 13 // Update Count : 656 14 14 // 15 15 … … 334 334 } // if 335 335 336 PASS( "Translate Throws", ControlStruct::translateThrows( translationUnit ) );337 338 336 CodeTools::fillLocations( translationUnit ); 339 337 … … 347 345 forceFillCodeLocations( transUnit ); 348 346 347 PASS( "Translate Throws", ControlStruct::translateThrows( transUnit ) ); 349 348 PASS( "Fix Labels", ControlStruct::fixLabels( transUnit ) ); 350 349 PASS( "Fix Names", CodeGen::fixNames( transUnit ) ); … … 384 383 translationUnit = convert( move( transUnit ) ); 385 384 } else { 385 PASS( "Translate Throws", ControlStruct::translateThrows( translationUnit ) ); 386 386 PASS( "Fix Labels", ControlStruct::fixLabels( translationUnit ) ); 387 387 PASS( "Fix Names", CodeGen::fixNames( translationUnit ) );
Note: See TracChangeset
for help on using the changeset viewer.