Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Remove `int64#`, `int32#`, `nativeint#`, and `float32#`

    These types are not "true" unboxed versions as they are boxed as custom blocks, so we remove them to restore the boxing invariant.

    Ryan Tjoa (@rtjoa)
  2. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Remove `~refining_block_with_any` from `compute_record_repr`

    @rtjoa: Nice catch!

    Will Sturgeon (@wrsturgeon)
  3. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Remove findlib support from Merlin

    Replaces #6952, which GitHub auto-marked as merged when its commits became reachable from its then-base branch during a stack reorder (it was never merged into main).

    Liam Stevenson (@liam923)
  4. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Remove findlib support from Merlin

    Remove findlib/ocamlfind support from Merlin's dot-merlin-reader, dropping the ocamlfind dependency. We already drop this support in the version of Merlin that we use internally. Dropping this dependency simplifies putting Merlin in the compiler distribution.

    Liam Stevenson (@liam923)
  5. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Remove shifts before and-ing with a small constant

    See the codegen test for an example where a sign-extension via shifts is eliminated.

    James Rayman (@jra4)
  6. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    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)
  7. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Rename -flambda2-no-simplify-stubs into -no-flambda2-simplify-stubs

    For consistency with other flags.

    Basile Clément (@bclement-ocp)
  8. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Reserve a closinfo is_unloadable bit and the Code_block tag

    Closinfo words gain an is_unloadable bit below the is_last bit, taking one bit from the startenv field. The compiler threads the new argument through closure_info and always passes false for now. Tag 243 becomes Code_block_tag, lowering last_non_constant_constructor_tag to 242. No reader consults either yet.

    Mark Shinwell (@mshinwell)
  9. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Revert "Make it possible to run the reaper with -Oclassic (#6993)"

    This PR reverts #6993. With that PR, the below program segfaults when compiled with -Oclassis -flambda2-reaper:

    Liam Stevenson (@liam923)
  10. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Revert "Remove `int64#`, `int32#`, `nativeint#`, and `float32#` (#6663)"

    This reverts commit 2b3fff4.

    Ryan Tjoa (@rtjoa)
  11. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    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)
  12. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Runtime events should never be conditional on debug log level

    While working on making the runtime events system more useful, I discovered that major GC cycle runtime event recording is conditional on (among other things) the GC log level. This can't be right.

    Nick Barnes (@NickBarnes)
  13. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Runtime support for unloadable compilation units

    A registered unloadable unit donates its static-block region to the major heap as an extent once initialised. The mark phase darkens each function's Code_block through a back-pointer at entry - 1, reached from closures via the closinfo bit, from return addresses via the frame UNLOADABLE bit, and from spilled code pointers via the code_ptr_live_ofs arrays. Wh…

    Mark Shinwell (@mshinwell)
  14. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    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)
  15. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Skip 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.

    ainageorges
  16. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Smaller/faster poll points using SEGV (rework of #2463)

    [rewritten to reflect two-stage interrupt rewrite]

    Nick Barnes (@NickBarnes)
  17. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    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)
  18. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    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)
  19. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    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)
  20. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Support all-void constructors represented as blocks

    Currently, constructors whose arguments are all-void require the attribute [@immediate_all_void_constructor], and such constructors are represented as immediates. In this PR, we allow the attribute to be omitted, in which case such constructors are represented as empty blocks (statically-allocated atoms).

    Ryan Tjoa (@rtjoa)