Files
lush/testes
Roberto Ierusalimschy 7ca3c40b50 Another way to compile goto's
The compilation of a goto or a label just create an entry and generate
boilerplate code for the gotos. As we don't know yet whether it needs a
CLOSE, we code a jump followed by a CLOSE, which is then dead code.

When a block ends (and then we know for sure whether there are variables
that need to be closed), we check the goto's against the labels of that
block. When closing a goto against a label, if it needs a CLOSE, the
compiler swaps the order of the jump and the CLOSE, making the CLOSE
active.
2025-01-10 13:54:51 -03:00
..
2022-12-23 11:28:11 -03:00
2022-12-28 18:38:20 -03:00
2025-01-10 13:54:51 -03:00
2025-01-10 13:54:51 -03:00
2024-11-25 15:47:08 -03:00
2024-01-16 17:02:55 -03:00
2025-01-10 13:54:51 -03:00
2018-12-14 13:49:02 -02:00
2024-05-08 17:50:10 -03:00
2021-03-01 13:54:29 -03:00