Fun 0.41.5
The programming language that makes You have fun
Loading...
Searching...
No Matches
try_pop.c File Reference

Implements the OP_TRY_POP opcode to end a try/catch region. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

case OP_TRY_POP
 break

Detailed Description

Implements the OP_TRY_POP opcode to end a try/catch region.

This file handles the OP_TRY_POP instruction, which marks the end of the most recently started try/catch region in the current frame by popping its entry from the per-frame TRY stack.

Behavior:

  • If f->try_sp >= 0, decrements f->try_sp (pops one TRY region).
  • Does not modify the value stack.

Errors:

  • None; popping when no TRY is active is a no-op.

Definition in file try_pop.c.

Variable Documentation

◆ break

break

Definition at line 28 of file try_pop.c.

◆ OP_TRY_POP

case OP_TRY_POP

Definition at line 26 of file try_pop.c.