Repository activity
40458 results across all weeks
Allocation Mode Axis
Add Allocation mode axis to analyze whether a function allocates on heap.
zhizhuoxinAllow canonical naming of symbols
Follow-up of #6318
Keryan Didier (@Keryan-dev)Allow coercions from `external`s to `[@@zero_alloc] val`s
This is done by adding a pc_zero_alloc : Zero_alloc.check option field to Tcoerce_primitive, representing the zero_alloc check that must be performed to ensure the coercion is valid. This field is used in transl_primitive similar to how transl_function handles zero_alloc.
James Rayman (@jra4)Allow void null payloads for custom or_null
This allows the null constructor of a custom [@@or_null] type to be unary when its payload has kind void.
julesjacobsAssure young handlers aren't forgotten between update/continue
If you update a major cont to contain minor handlers, then enter the GC, the handlers will be forgotten.
Max Slater (@TheNumbat)Avoid eager resolution of .reloc directives in x86 binary emitter
This PR updates the x86 binary emitter to preserve explicit R_X86_64_PLT32 .reloc directives for the preceding 4-byte field instead of resolving them eagerly. This matches the object-file semantics of .reloc: the directive requests a relocation entry, even when the target is defined locally.
Simon Spies (@spiessimon)Bind my_closure as phantom when it is used only at phantom name mode
This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.
Mark Shinwell (@mshinwell)Bound_var and Bound_parameter carry Debuginfo.t and a parameter classification
This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.
Mark Shinwell (@mshinwell)Bump cachix/install-nix-action from 31.10.6 to 31.10.7 in the actions group
Bumps the actions group with 1 update: cachix/install-nix-action.
Dependabot (@dependabot)Bump magic number for ox5
@liam923: The Merlin changes LGTM
Max Slater (@TheNumbat)Check `@inlined` attribute when merging apply
I'm not sure. I think we likely shouldn't merge if the inlined attribute differs?
Basile Clément (@bclement-ocp)Check for new XXX comments in CI
In the spirit of the 80-character check, make sure no PR introduces a change that adds an XXX comment. Such comments aren't themselves a problem, of course, but usually they indicate that someone meant to address something before they made a PR.
Luke Maurer (@lukemaurer)Compute availability ranges for phantom variables
This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.
Mark Shinwell (@mshinwell)Copy operation
Implements the copy operation in the solver, to be used later for instantiation.
ainageorgesCurry mode without using the argument
Previously, in a curried function fun a () -> ... , the parameter a 's full mode was fed into close_over, so an argument's monadic mode (e.g. unique, uncontended, read_write) forced the inner closure to a its dual mode (in this case once, nonportable, stateful) even when a was never used in the body of the function.
ainageorgesDeduplicate contents of continuation handlers
Note: This is a quick proof of concept for #6751; it is experimental (notably we likely want a better hash function on primitives) and not intended to be merged as is.
Basile Clément (@bclement-ocp)Delay adding constraints to Allocation/Locality mode axes
Delay the decision on whether to force allocation in closures local or closure with allocations alloc until the end of typing phase (except for the [module type of] case).
zhizhuoxinDelay cmx loading until it is really useful
Pierre Chambart (@chambart)Delay import of typing environments
Serialized typing environments are effectively maps from names to types, which we eagerly rename upon import of cmx files. We often only look up only a small fraction of the equations present in the typing env, but still pay the cost for importing it in full.
Basile Clément (@bclement-ocp)Dev loop: make the failure paths loud, bounded and recoverable
Acts on five independent experience reports from sessions that each built one
julesjacobs