1
0
forked from M-Labs/artiq
artiq/artiq/test/lit
Jonathan Coates 270a417a28 Correctly handle try/catch try/finally blocks
If we have a try/catch block nested inside a try/finally, then the
finally block would not be executed in the event of the exception.
This is because the landing pad of the inner try is marked as having no
cleanup clause.

We now set has_cleanup to False only if there is no outer try block.

Signed-off-by: Jonathan Coates <jonathan.coates@oxionics.com>
2024-11-20 09:38:36 +08:00
..
codegen compiler: remove obsolete watchdog code (#1458) 2020-12-08 13:25:08 +08:00
constant_hoisting compiler: hoist loads of kernel invariants to function entry block. 2018-05-25 02:18:13 +00:00
devirtualization fold comm device into core device 2017-05-22 15:45:45 +08:00
embedding subkernel lit tests: fix timeouts to no-timeouts 2024-02-01 18:56:07 +08:00
escape compiler: Catch escaping numpy.{array, full, transpose}() results 2023-10-09 09:00:26 +08:00
exceptions Correctly handle try/catch try/finally blocks 2024-11-20 09:38:36 +08:00
inferencer Allow indexing tuples in kernel code 2023-09-12 14:43:38 +01:00
integration Allow indexing tuples in kernel code 2023-09-12 14:43:38 +01:00
interleaving Rename 'with parallel' to 'with interleave' (#265). 2016-02-22 13:24:43 +00:00
iodelay compiler: print the builtin type int(width=...) as np.int... 2016-07-06 04:22:51 +00:00
local_access Rename 'with parallel' to 'with interleave' (#265). 2016-02-22 13:24:43 +00:00
local_demotion compiler: implement local variable demotion. 2018-05-19 17:05:34 +00:00
monomorphism Add missing test from d6eb2b02. 2019-02-10 07:25:53 +00:00
regression compiler: Fix crash with try/finally and stack-return function calls 2021-03-21 01:31:26 +00:00
time compiler: remove obsolete watchdog code (#1458) 2020-12-08 13:25:08 +08:00
try_loop Remove outer_final 2022-02-24 19:58:33 +08:00
lit.cfg test: do not build libartiq_support in lit.cfg 2020-06-10 17:15:24 +08:00
not.py fix lit tests 2017-05-18 23:41:01 +08:00