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

Remove exc_caught from mrb_vm_exec() #6260

Merged
merged 1 commit into from
May 6, 2024

Commits on May 5, 2024

  1. Remove exc_caught from mrb_vm_exec()

    Only go to exception handling if `mrb->exc` is non-null.
    
    This may cause some compatibility problems, but I doubt that it is necessary to maintain that compatibility.
    Here is how I see the incompatibility with the change at this time:
      - If `mrb->exc` is non-null and `mrb_vm_exec()` is called, an exception will be thrown immediately.
      - If `MRB_THROW()` is used while `mrb->exc` is `NULL`, it will not go to exception handling.
    dearblue committed May 5, 2024
    Configuration menu
    Copy the full SHA
    dea5c9e View commit details
    Browse the repository at this point in the history