diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-07-30 19:44:36 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-07-30 19:44:36 +0200 |
commit | 929c8627cf077c3e348fb12b02553d4a444c5e48 (patch) | |
tree | 72ef326e45a4934731c285d80b5ff2971d40060f /compiler.c | |
parent | 8f34d70c00cb7c17140f920234f04af1ddbdfbf4 (diff) |
vm: fix toplevel function call protocol
In success case, always push the function return value onto the stack even
if no call frames are remaining after the function returned.
This is needed for host program code invoking ucode functions within a VM
context that already ran to completion.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'compiler.c')
0 files changed, 0 insertions, 0 deletions