Changeset d2278e9 for doc


Ignore:
Timestamp:
Jul 16, 2021, 12:26:04 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
fcaa1e4
Parents:
e19fadd
Message:

Some resumption benchmarks were actually testing termination.

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  
    1212
    1313void throw_exception() {
    14         throw (empty_exception){&empty_vt};
     14        throwResume (empty_exception){&empty_vt};
    1515}
    1616
     
    1818        try {
    1919                throw_exception();
    20         } catch (empty_exception * exc ; should_catch) {
     20        } catchResume (empty_exception * exc ; should_catch) {
    2121                // ...
    2222        }
     
    3636                try {
    3737                        cond_catch();
    38                 } catch (empty_exception * exc) {
     38                } catchResume (empty_exception * exc) {
    3939                        // ...
    4040                }
  • doc/theses/andrew_beach_MMath/code/resume-empty.cfa

    re19fadd rd2278e9  
    1313                unwind_empty(frames - 1);
    1414        } else {
    15                 throw (empty_exception){&empty_vt};
     15                throwResume (empty_exception){&empty_vt};
    1616        }
    1717}
     
    3131                try {
    3232                        unwind_empty(total_frames);
    33                 } catch (empty_exception *) {
     33                } catchResume (empty_exception *) {
    3434                        // ...
    3535                }
Note: See TracChangeset for help on using the changeset viewer.