Changeset d2278e9
- Timestamp:
- Jul 16, 2021, 12:26:04 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- fcaa1e4
- Parents:
- e19fadd
- Location:
- doc/theses/andrew_beach_MMath/code
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/code/cond-fixup.cfa
re19fadd rd2278e9 12 12 13 13 void throw_exception() { 14 throw (empty_exception){&empty_vt};14 throwResume (empty_exception){&empty_vt}; 15 15 } 16 16 … … 18 18 try { 19 19 throw_exception(); 20 } catch (empty_exception * exc ; should_catch) {20 } catchResume (empty_exception * exc ; should_catch) { 21 21 // ... 22 22 } … … 36 36 try { 37 37 cond_catch(); 38 } catch (empty_exception * exc) {38 } catchResume (empty_exception * exc) { 39 39 // ... 40 40 } -
doc/theses/andrew_beach_MMath/code/resume-empty.cfa
re19fadd rd2278e9 13 13 unwind_empty(frames - 1); 14 14 } else { 15 throw (empty_exception){&empty_vt};15 throwResume (empty_exception){&empty_vt}; 16 16 } 17 17 } … … 31 31 try { 32 32 unwind_empty(total_frames); 33 } catch (empty_exception *) {33 } catchResume (empty_exception *) { 34 34 // ... 35 35 }
Note: See TracChangeset
for help on using the changeset viewer.