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

Fix bug in heap translation #565

Merged
merged 1 commit into from
May 16, 2024

Commits on May 15, 2024

  1. Fix bug in heap translation

    It is valid for an object pointer to point to the "end" of the
    heap (`s->heap.start + s->heap.oldGenSize`) if it is a pointer to an object of
    zero size, such as a zero-length array/vector or a `unit array` or `unit ref`,
    in which case the object proper does not extend beyond the "end" of heap.
    
    Closes MLton#560
    MatthewFluet committed May 15, 2024
    Configuration menu
    Copy the full SHA
    464ed52 View commit details
    Browse the repository at this point in the history