summaryrefslogtreecommitdiffhomepage
path: root/compiler.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-07-30 19:44:36 +0200
committerJo-Philipp Wich <jo@mein.io>2021-07-30 19:44:36 +0200
commit929c8627cf077c3e348fb12b02553d4a444c5e48 (patch)
tree72ef326e45a4934731c285d80b5ff2971d40060f /compiler.c
parent8f34d70c00cb7c17140f920234f04af1ddbdfbf4 (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