Repository activity
40458 results across all weeks
Remove runtime 5 markers
This is the sequel to #6218, removing the last few runtime 5 markers which were left in at that time to support third-party code which depended on them, as mentioned in that PR description. Extensive cleaning of that third-party code has occurred in the meantime, and will soon be complete. Removed:
Nick Barnes (@NickBarnes)Remove unused toplevel_my_{,ghost_}region
They have been unused for a long time. Unfortunately, this changes a lot of the fexpr tests because #6405 has not been merged yet -- we probably should merge that one first.
Nathanaëlle Courant (@Ekdohibs)Revert "Remove `int64#`, `int32#`, `nativeint#`, and `float32#` (#6663)"
This reverts commit 2b3fff4.
Ryan Tjoa (@rtjoa)Revert "Revert "Make it possible to run the reaper with -Oclassic (#6993)" (#7067)"
The bug that happened with #6993 should be fixed by #7072.
Nathanaëlle Courant (@Ekdohibs)Revert to merlin shapes
This PR reverts #5103 to go back to the old Merlin shapes. It includes a magic number bump.
Simon Spies (@spiessimon)Say "kind", not "mode", in the with-on-right-kind error
The error for using with in a position expecting a right kind said
Matthew Dempsky (@mdempsky)Serve structured diagnostics from Merlin
Add a structured-diagnostics query to Merlin, which returns errors as a Structured_diagnostic.t value.
Gavin Gray (@gavinleroy)Simplify, optimize, and fix the `lf_skiplist` implementation
See the individual commits for more details. Here is a brief summary:
Vesa Karvonen (@polytypic)Single source of truth for struct offsets in asm stubs
Some of the asm stubs need field offsets in C structs. This ensures that they get the right values even if the structs change.
Nick Barnes (@NickBarnes)Single source of truth opcodes.h for bytecode opcodes
Cherry-picked from ocaml/ocaml#14488 where it's a clear improvement in the runtime and in the build system. Suggested by @dra27 in comments on #6562 (which should probably be rebased on top of this one, for simplicity).
Nick Barnes (@NickBarnes)Skip subsumption in functor coercion
The subsumption check done during functor application should not be necessary, and causes undesired mutations on weak mode polymorphic variables. This PR skips this check.
ainageorgesSkip subsumption when checking a signature item against itself
After Signature_names.simplify drops shadowed items from a structure's signature, Typemod constrains the structure against the simplified signature (~self_check:true) only to obtain the Tcoerce_structure coercion. Every paired item is the same item on both sides, so the per-item checks are redundant.
ainageorgesSmaller/faster poll points using SEGV (rework of #2463)
[rewritten to reflect two-stage interrupt rewrite]
Nick Barnes (@NickBarnes)Static functor transl, fracture and eval
This PR adds support for static functors by adding the notion of templates, these are similar to the existing kind templates but their arguments exist both at compile-time and at runtime. This does not support partial application or overapplication of static functors, I'm planning to implement that after merging fracturing and eval. This is more restrictive …
Jack Rickard (@Skepfyr)Store Reaper solutions in .ltosol files and rebuild from them
Serialises the whole-program Reaper solution (still under naive merging) to solution files, and uses it to rebuild instead of solving again on rebuild.
Miriam Vellacott (@mirivella)Store less data in .cmr, .ltosol and .reaped.cmx files
Not ready for review.
Miriam Vellacott (@mirivella)Structured mangling: drop function-slot stamps from symbols
Under structured name-mangling, symbols for functions embed _M_N_code where the M stamp comes from the function's Flambda Function_slot.t. Adding a function anywhere earlier in the file changes that M stamp for every function that comes after it, and the demangler can't easily strip this without having to guess at where the identifier ends. The _N_code from …
Kevin Svetlitski (@Svetlitski)Structured mangling: make the stamps in mangled names separable
Under -name-mangling-scheme structured, every function symbol carries two compiler-generated stamps: the function-slot stamp, fused into the function's identifier (F13double_even_0), and the code-ID stamp as a suffix (_3_code). Both change whenever unrelated code in the file changes, and the first one cannot be told apart from a source identifier ending in d…
Kevin Svetlitski (@Svetlitski)Support layout-polymorphic records and variants
Previously, when Lambda tried to determine the representation of a record or
Joe Kerrigan (@joe-kerrigan)Support mixed tuples
Adds support for mixed tuples by extending various tuple-related data definitions with Jkind.Sort.ts, similar to the tracking done for unboxed tuples. This allows for code de-duplication between cases for unboxed and boxed tuples across the frontend.
Zack Eisbach (@zackbach)