1
0
forked from M-Labs/artiq
artiq/artiq/compiler
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
..
algorithms compiler: do not associate SSA values with iodelay even when inlining. 2015-12-25 15:02:33 +08:00
analyses compiler: Constness is a validator, not analysis. 2017-06-09 07:29:31 +00:00
testbench master: store datasets in LMDB (#1743) 2023-04-24 17:34:30 +08:00
transforms Correctly handle try/catch try/finally blocks 2024-11-20 09:38:36 +08:00
validators compiler: Catch escaping numpy.{array, full, transpose}() results 2023-10-09 09:00:26 +08:00
__init__.py compiler: pull in dependencies in more finely grained way (fixes #181). 2015-11-24 17:32:04 +08:00
asttyped.py compiler: support subkernels 2023-10-08 17:11:51 +08:00
builtins.py compiler: support free subkernel message passing 2024-01-31 11:46:07 +08:00
embedding.py compiler: add UnwrapNoneError exception 2024-08-23 19:12:52 +08:00
import_cache.py import_cache: make sure last line ends with \n as linecache does. Closes #547 2016-09-02 11:01:28 +08:00
iodelay.py compiler.iodelay: correctly fold max(0, [0, ]...). 2015-11-24 00:46:55 +08:00
ir.py compiler: add builtinInvoke for subkernel raising functions 2024-07-31 17:17:01 +08:00
kernel.ld compiler: Add missing sections to kernel linker script 2022-11-24 16:57:31 +00:00
math_fns.py math_fns: Delete duplicated definition 2024-07-04 09:00:40 +02:00
module.py compiler: support subkernels 2023-10-08 17:11:51 +08:00
prelude.py compiler: support free subkernel message passing 2024-01-31 11:46:07 +08:00
targets.py compiler: support subkernels 2023-10-08 17:11:51 +08:00
types.py compiler: support subkernels 2023-10-08 17:11:51 +08:00