Repository activity
40458 results across all weeks
Remove -basic-block-sections.
The flag had no users and no prospective users, and did not work:
Xavier Clerc (@xclerc)Remove dependency from ocamltest to the rest of the compiler
Use the system runtime headers in ocamltest, not OxCaml's (I think this only ever worked by coincidence)
Stephen Dolan (@stedolan)Rename "alloc" misnomers to make way for the `alloc` mode
There are currently a few (very) confusing uses of "alloc" in names, none of which relate to the proposed alloc/noalloc/noalloc_strict mode:
Will Sturgeon (@wrsturgeon)Rename -flambda2-no-simplify-stubs into -no-flambda2-simplify-stubs
For consistency with other flags.
Basile Clément (@bclement-ocp)Rename int ids without importing
When we apply a name abstraction that was imported from another compilation unit, we first import the name from the original compilation unit into the grand table for the current compilation unit, possibly affecting it a new identifier, then create a fresh name for it and record the mapping between the imported identifier and the fresh name in a Renaming.t.
Basile Clément (@bclement-ocp)Repair overflowed SP when raising Stack_overflow
If the stack overflows into a guard page, reading or writing through the stack pointer causes a SEGV (for instance, in caml_raise_exception on ARM, when we LEAVE_FUNCTION). So in this PR we adjust it in caml_raise_stack_overflow to point to Stack_base. This means we no longer have to guard against this guard-page possibility when obtaining a backtrace.
Nick Barnes (@NickBarnes)Revert "Keep minor-GC tables smaller, and simplify "reserve" algorithm."
Reverts #6840
David Allsopp (@dra27-js)Revert "reaper: make it possible to delete unused results of function…
…s (#7180)"
Basile Clément (@bclement-ocp)Scrape module aliases from parameter interfaces
Scrape module aliases in parameter interfaces before saving their CMIs, matching ordinary functor parameters.
Zesen Qian (@riaqn)Serve structured diagnostics from Merlin
Add a structured-diagnostics query to Merlin, which returns errors as a Structured_diagnostic.t value.
Gavin Gray (@gavinleroy)Skip redundant CRC consistency checks on persistent imports
A checked cold lookup ran check_consistency over an import's CRC vector twice: once in acknowledge_import and again in acknowledge_new_pers_name. Record a successful check on the import and skip the second pass.
DirkEmmettSkip 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.
ainageorgesSplit allocation and specialisation for sets of closures
Vincent Laviron (@lthls)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 int id data for code in file sections
The exported data for names and continuations that are bound in exported code is currently stored in the main index for all int ids data, which must be deserialized before getting any exported information from a .cmx file.
Basile Clément (@bclement-ocp)Store less data in .cmr, .ltosol and .reaped.cmx files
Not ready for review.
Miriam Vellacott (@mirivella)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)Structured mangling: number anonymous functions instead of embedding positions
Previously, the mangled names for lambdas and anonymous modules contained their exact
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)