Repository activity
40458 results across all weeks
Allow aliases when checking for signature inclusion #14204
When checking the re-exportation of a type in the type declaration inclusion check, allow the following of aliases to the original representation.
Stefan Muenzel (@smuenzel)Always advance work counter in idle slices
With the GC idle phase, it's possible for non-allocating small-heap programs to get stuck such that a loop calling Gc.major_slice won't advance the GC. This PR makes it so that any idle slice advances the work counter and so will eventually get out of the idle phase.
Nick Barnes (@NickBarnes)Assert failure from polymorphic variants and existentials
Original bug ID: 6980
vicunaBound the length returned by a custom event encoder
Fix for https://github.com/ocaml/ocaml/issues/15074
Tim McGilchrist (@tmcgilchrist)Bulk operations on float arrays, with a NEON exemplar on arm64
Hello!
Zane Hambly (@Zaneham)Bytecode: more optimization hints (immediate reads, variant tests)
This follows up on #13438 by keeping two more pieces of information from Lambda in the bytecode hints. They are useful to compilers from bytecode such as wasm_of_ocaml.
Jérôme Vouillon (@vouillon)Bytepackager: relocate the events and hints of the pack code
When building a pack, the bytecode packager appends the code of the packed units, then compiles the code of the pack itself (building the pack module from its components, and applying the coercion to the pack interface if there is one). The relocations of this last piece of code are shifted by the size of the packed units, but its debugging events and optimi…
Jérôme Vouillon (@vouillon)Compute allocation sizes in Cmm
This is a (rather heavy) fix for the bug reported in #15154.
Vincent Laviron (@lthls)Consolidate variance check for constrained parameters
In https://github.com/ocaml/ocaml/issues/15163, a large object type caused performance issues in the variance check.
Stefan Muenzel (@smuenzel)Dangling minor heap pointer in a shallow fiber's effect handler after a nested `perform`
Ethan Chou (@echoumcp1)Do not use movzx on amd64 for compare
Currently, on amd64, we use the sequence cmp, setCC, movzx for integer comparisons that need to be materialized.
Stefan Muenzel (@smuenzel)Document OCAMLRUNPARAM X option and correct b, d and comma handling
X sets named GC tweaks and Xhelp prints the ones this runtime knows about. Fix the wording of the b, d options.
Tim McGilchrist (@tmcgilchrist)Don't track parents in occur_rec (from #13004)
In #13004 (comment) @gasche and @Octachron propose eliminating the parents from occur_rec.
Stefan Muenzel (@smuenzel)Enable runtime events tests on Windows
Minor rewriting of the tests to use Unix.createProcess rather than Unix.fork, otherwise the functionality is the same. Needed https://github.com/ocaml/ocaml/pull/15186 to fix a Windows lseek bug.
Tim McGilchrist (@tmcgilchrist)Exceptions raised by type checker
Original bug ID: 5907
vicunaExtend non-unit statement warning message
Currently, warning 10 looks like:
Stefan Muenzel (@smuenzel)Fix #15155: Closure projections from bottom is not an error in flambda.
This is a fix for #15155
Pierre Chambart (@chambart)Fix #15160, #15244, segfaults on array index in native code
The test are generated with claude, the fix is generated by me.
Stefan Muenzel (@smuenzel)Fix Windows Unix.LargeFile.lseek to read int64 offset as Int64_val
LargeFile.lseek takes an int64, which is a boxed custom block. Long_val treats that block pointer as a tagged integer, so the file position is set to a value derived from the heap address of the argument instead of to the offset asked for.
Tim McGilchrist (@tmcgilchrist)Fix bytecode hints test
The reference for the emitted bytecode hints was assuming the flat-float-array configure option. The test now has one reference file for each case and the ocamltest directives select the appropriate one.
Olivier Nicole (@OlivierNicole)