Changeset 3d4b23fa for src/ControlStruct/ExceptTranslate.cc
- Timestamp:
- Jul 13, 2017, 3:57:04 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 0720e049, 9a1e509
- Parents:
- 55a68c3 (diff), d6ff3ff (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/ControlStruct/ExceptTranslate.cc
r55a68c3 r3d4b23fa 10 10 // Created On : Wed Jun 14 16:49:00 2017 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Fri Jun 30 13:30:00 201713 // Update Count : 112 // Last Modified On : Wed Jul 12 15:07:00 2017 13 // Update Count : 3 14 14 // 15 15 … … 157 157 Statement * create_terminate_throw( ThrowStmt *throwStmt ) { 158 158 // { int NAME = EXPR; __throw_terminate( &NAME ); } 159 return create_given_throw( "__cfaehm__throw_terminat ion", throwStmt );159 return create_given_throw( "__cfaehm__throw_terminate", throwStmt ); 160 160 } 161 161 Statement * create_terminate_rethrow( ThrowStmt *throwStmt ) { … … 164 164 Statement * result = new ExprStmt( 165 165 throwStmt->get_labels(), 166 new UntypedExpr( new NameExpr( "__cfaehm__rethrow_terminat ion" ) )166 new UntypedExpr( new NameExpr( "__cfaehm__rethrow_terminate" ) ) 167 167 ); 168 168 delete throwStmt; … … 171 171 Statement * create_resume_throw( ThrowStmt *throwStmt ) { 172 172 // __throw_resume( EXPR ); 173 return create_given_throw( "__cfaehm__throw_resum ption", throwStmt );173 return create_given_throw( "__cfaehm__throw_resume", throwStmt ); 174 174 } 175 175 Statement * create_resume_rethrow( ThrowStmt *throwStmt ) { … … 593 593 594 594 PassVisitor<ExceptionMutatorCore> translator; 595 for ( Declaration * decl : translationUnit ) { 596 decl->acceptMutator( translator ); 597 } 595 mutateAll( translationUnit, translator ); 598 596 } 599 597 }
Note:
See TracChangeset
for help on using the changeset viewer.