0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-02-02 22:30:01 +00:00
Ondrej Zajicek (work) a2527ee53d 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-06-27 21:13:32 +02:00
..
2022-06-27 21:13:31 +02:00
2019-12-17 00:01:53 +01:00
2020-05-02 02:47:18 +02:00
2022-06-27 21:13:31 +02:00
2020-05-02 02:47:18 +02:00
2021-02-07 19:21:42 +01:00
2022-02-06 23:42:10 +01:00
2022-02-06 23:27:13 +01:00