Changeset 812ba3d for doc/theses/andrew_beach_MMath/code/fixup-empty-r.cfa
- Timestamp:
- Sep 7, 2021, 9:59:12 AM (19 months ago)
- Branches:
- enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- 2bfee8e
- Parents:
- 49b3389
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/code/fixup-empty-r.cfa
r49b3389 r812ba3d 3 3 #include <exception.hfa> 4 4 #include <fstream.hfa> 5 #include <stdlib.hfa> // strto5 #include <stdlib.hfa> 6 6 7 7 exception fixup_exception { … … 13 13 if (frames) { 14 14 nounwind_empty(frames - 1); 15 if ( frames == -1 ) printf( "42" ); // prevent recursion optimizations 15 // "Always" false, but prevents recursion elimination. 16 if (-1 == frames) printf("~"); 16 17 } else { 17 18 int fixup = 17; 18 throwResume (fixup_exception){&fixup_vt, fixup}; // change bad fixup19 throwResume (fixup_exception){&fixup_vt, fixup}; 19 20 } 20 21 }
Note: See TracChangeset
for help on using the changeset viewer.