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 inclusion checks for primitives #23

Closed
wants to merge 1 commit into from

Conversation

lpw25
Copy link
Contributor

@lpw25 lpw25 commented May 23, 2022

The inclusion check implementation for primitives assumed that moregen forced modes to be equal, which is no longer the case. Replace it with an implementation that just checks both possible types.

@stedolan
Copy link
Collaborator

Looks good to me, but it would be good to avoid the code duplication in Ctype.instance_prim

@stedolan
Copy link
Collaborator

Closing in favour of ocaml-flambda/flambda-backend#661

@stedolan stedolan closed this May 24, 2022
antalsz pushed a commit to antalsz/ocaml-jst that referenced this pull request Mar 29, 2023
…a#23)

* Local allocation support for arrays and records

* Relax the Max_young_wosize constraint on local allocs

* Runtime support for local array allocations.

Includes a bugfix in realloc_local (wsize/bsize confusion).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants