Repository activity
40458 results across all weeks
Temporarily disable the XXX check pending #7165
The "check" job's git fetch origin "$GITHUB_SHA" --deepen 1 step
Luke Maurer (@lukemaurer)Track variables needed by phantom lets via a third user-visibility state
Problem. With -flambda2-expert-phantom-lets, Simplify turns deleted bindings into phantom lets so the debugger can reconstruct their values. But a phantom let's defining expression may reference variables that are not user visible, such as call results bound to return-continuation parameters, or unboxed values carried around a loop. To_cmm gives non-user-vis…
Mark Shinwell (@mshinwell)Under LTO, make the Reaper assume a closed world
The Reaper solver currently assumes an open world: other units may depend on the current one(s), and may do anything with them. For LTO, we want to assume that the set of participants we can see is closed, and no other units will depend on them (though the participant units may still depend on non-participants, for example stdlib).
Miriam Vellacott (@mirivella)Untangle equating sorts
This should be a conceptually equivalent refactor of Sort.equate.
Jakub Bachurski (@jbachurski)Untangle sort variables
There was some confusing code around sort variables, particularly generalisation/instantiation.
Jakub Bachurski (@jbachurski)Upstream Merlin's `Pmod_hole` into the compiler
Pmod_hole - the module_expr dual of Pexp_hole, which has been in Merlin's parser for some time. This is a precursor to attempting to upstream both of these to OCaml, allowing the ppx ecosystem to use these parsetree nodes as well.
David Allsopp (@dra27-js)Use base addresses and offset pairs in DWARF-5 location and range lists
Sixth in the series reducing the size cost of --enable-oxcaml-dwarf-on-compiler (on top of #6923). Attacks the .debug_addr cost left by the DWARF-5 conversion: startx_endx entries put two 8-byte address-table slots (each with a relocation) behind every distinct range boundary — 8.2 MB of .debug_addr (~1M entries) across a compiler build.
Mark Shinwell (@mshinwell)Use renamings instead of var to var let bindings for dataflow renamings
I understand @bclement-ocp 's frustration from #6775 . This might be some welcome additional cleanup.
Pierre Chambart (@chambart)Use the findlib cli instead of linking against it
This PR is an alternative for #6983. Instead of dropping findlib support, this PR migrates Merlin to using the findlib cli rather than linking against the findlib library. The motivation is to avoid needing to vendor findlib into the repo, which would otherwise be necessary in order to build Merlin with oxcaml and include it in the compiler distribution.
Liam Stevenson (@liam923)Very large frames need stack checks even when no_stack_checks
When stack-checks are disabled, we use a memory-protected "guard page" to catch stack overflow. However, functions with stack frames of more than one page can skip over this guard page and crash. So we should retain stack checks on such functions (this is a very few functions, generally huge and time-consuming, so another few instructions on function entry a…
Nick Barnes (@NickBarnes)[WIP] Support subtyping through first-class modalities
Follow-up to #7096, based on its branch. Allow explicit subtype coercions through first-class modalities, so portable elements can be unwrapped inside covariant containers without rebuilding them:
dkalinichenko-js`moregen_occur` for sort variables
This fixes the bug that made moregen accept setting a weak variable to a generic one.
Jakub Bachurski (@jbachurski)bigarray: `(unsafe_)get` and `blit` require `@ read` access only
I think, at least.
Nicolas Trangez (@NicolasT)binary-emitter: prevent stale files from causing verification failures
Found with the testcase on #6640 which failed CI on arm64; vibe-coded fix and testcase by Claude.
Nathanaëlle Courant (@Ekdohibs)blambda: fix double-rounding bugs
Fixes a few double-rounding bugs in blambda using runtime functions, which did not exist when the code was created (caml_float32_to_int64_bytecode and caml_float32_of_int64_bytecode). Adds a regression test.
hwasilewskijsdatalog: Make compilation infrastructure more maintainable
The Cursor.Level infrastructure is inherited from the initial implementation of the high-level DSL, and is complex to maintain and extend because it processes each atom independently. As we are considering additional optimisations in the execution of datalog rules, this is becoming an issue.
Basile Clément (@bclement-ocp)feat: allocation mode axis (`alloc`/`noalloc`/`noalloc_strict`)
Will Sturgeon (@wrsturgeon)js_of_ocaml: apply patching
⚠️ DO NOT REBASE OR SQUASH - we want to keep commits easy to revert
Robin Ricard (@rricard)js_of_ocaml: compile in the repo
✅ Rebasable and squashable
Robin Ricard (@rricard)js_of_ocaml: subtree reset
⚠️ DO NOT REBASE OR SQUASH
Robin Ricard (@rricard)