Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vm: add Unreachable opcode #34

Merged
merged 1 commit into from
Sep 13, 2024
Merged

vm: add Unreachable opcode #34

merged 1 commit into from
Sep 13, 2024

Commits on Sep 12, 2024

  1. vm: add Unreachable opcode

    When executing an `Unreachable` instruction, the VM unconditionally
    exits with an error of the L0 language.
    
    The opcode is added for the convenience of the code generator / higher-
    level passes: a procedure ending in an `Unreachable` statement now no
    longer requires an (unnecessary) exit continuation in order to result
    in well- formed bytecode.
    zerbina committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    7ec3231 View commit details
    Browse the repository at this point in the history