2008-05-04 | Paul Boddie | file changeset files shortlog | Changed the _optimise_known_target method to return None where the target and context are not identified, thus producing a false value for testing. Introduced optimisation of known targets when obtaining binary operator methods. Changed constant attribute access to use LoadAddress (StoreAddress should not apply). Exposed code produced by the show function in the test program as a global. |
paul@57 | 1 | Exception Handling |
paul@57 | 2 | ------------------ |
paul@57 | 3 | |
paul@57 | 4 | Where exceptions may be raised, the following rules are applied: |
paul@57 | 5 | |
paul@57 | 6 | 1. If exception labels exist, any raised exception causes a jump to the |
paul@57 | 7 | handler label. |
paul@57 | 8 | |
paul@57 | 9 | 2. If no exception labels exist, any raised exception causes the current |
paul@57 | 10 | function to be terminated with an exception condition. |
paul@57 | 11 | |
paul@57 | 12 | 3. Where an invocation returns with an exception condition set, rules #1 and |
paul@57 | 13 | #2 are applied. |