0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-03-11 17:08:46 +00:00
Ondrej Zajicek (work) 9654b1416e Filter: Improve handling of stack frames in filter bytecode
When f_line is done, we have to pop the stack frame. The old code just
removed nominal number of args/vars. Change it to use stored ventry value
modified by number of returned values. This allows to allocate variables
on a stack frame during execution of f_lines instead of just at start.

But we need to know the number of returned values for a f_line. It is 1
for term, 0 for cmd. Store that to f_line during linearization.
2022-03-10 02:02:32 +01:00
..
2022-03-04 02:24:28 +01:00
2022-03-04 02:24:28 +01:00
2020-11-08 15:33:22 +01:00
2015-11-05 12:48:52 +01:00
2018-10-01 15:55:23 +02:00
2020-11-24 03:21:44 +01:00
2018-03-18 02:56:51 +01:00