Repository activity
40458 results across all weeks
Introcaml: support runtime introspection in JavaScript
Prototype of the design sketched by @let-def in #2409 (comment). Built on top of #2409: only the last commit is new, the others are that PR (rebased on master).
hhugoRuntime: specialize direct partial applications in double-translation mode
Avoid an extra caml_call_gen_direct frame for one- and two-argument partial applications in double-translation mode.
Jérôme Vouillon (@vouillon)[Temporary] Benchmarks: build the bench image with Introcaml
Temporary PR on top of #2430 to measure how Introcaml introspection support affects the benchmarks. Not meant to be merged.
hhugo[Temporary] Introcaml: store the block descriptor in the header word
Temporary PR on top of #2431 (which sits on #2430) to measure an alternative representation of the Introcaml block descriptors in JavaScript. Not meant to be merged as is.
hhugotests-full: refresh stdlib 5.6 snapshot for OCaml trunk changes
The 5.6+trunk / Ubuntu / Tests / Effects job is failing on master (run) because compiler/tests-full/stdlib.cma.5.6.expected.js no longer matches the JS generated from trunk's stdlib.cma.
hhugo@inlined attribute on functors
ievans791AES intrinsics
Implements intrinsics for the amd64 AES extension, which is now enabled by default.
Max Slater (@TheNumbat)Add -reaper-rebuild: resume compilation from a .cmx file and a solution
This PR adds a separate rebuild invocation (-reaper-rebuild) to the compiler. It allows rebuilding (i.e., resuming the reaper from a solution) once -reaper-solve has been used to construct a solution file.
Simon Spies (@spiessimon)Add -reaper-solve: whole-program Reaper solve producing .ltosol files
This PR adds support for executing the solve part of link-time optimization in a separate ocamlopt invocation. That is, when invoked with -reaper-solve -o solution.ltosol a.cmx b.cmx, the compiler will retrieve the reaper data from a.cmx and b.cmx (compiled with -lto-support) and then execute the solve step of the reaper and write the result into solution.lt…
Simon Spies (@spiessimon)Add -support-lto: store the Reaper's LTO data in .cmx files
This PR adds the first piece of the link-time optimization machinery, the -support-lto mode. When -support-lto is passed, the reaper is not executed as normally. Instead, only the traverse pass is executed and the resulting intermediate representation is stored in .cmx files alongside other data for resuming in a separate process.
Simon Spies (@spiessimon)Add RUNPARAM to make test to allow OCAMLRUNPARAM to be set
This lets me run, for examnple, make test-one TEST=foo RUNPARAM=v=0x1000. Setting OCAMLRUNPARAM in the naive way sets it for all the various things run by the make (such as the compiler).
Nick Barnes (@NickBarnes)Add `%box` and `%unbox` primitives
DRAFT
Zack Eisbach (@zackbach)Add `module-type-impls` query
This PR adds the Merlin query module-type-impls that returns the modules that are required to implement the specified module type. This analysis will unlock broader functionality within Merlin, specifically for the Interface Strengthener, which annotates an .mli file with modes, modalities, and kinds.
Gavin Gray (@gavinleroy)Add borrowability and borrowedness mode axes
Groundwork for the exclusive/separate modes (internal ticket 1017). This adds the two new axes the design calls for, fully plumbed through the mode solver, jkinds and printing, but with no semantics of their own yet: nothing infers unborrowable or requires owned except explicit annotations, and the axes are not yet coupled to linearity/uniqueness.
Matthew Dempsky (@mdempsky)Add continuation specialization budget
This will provide an escape hatch for situations where enabling match-in-match makes the compilation time explode.
Guillaume Bury (@Gbury)Add interface strengthening analysis
Stacked on #6811.
Gavin Gray (@gavinleroy)Add modality printing relative to explicit defaults
Adds Typemode.least_modalities_with_default and Out_type.tree_of_modalities_with_default to Merlin's vendored typing sources so callers can print the modalities of an item relative to a caller-supplied default modality rather than the mutability-implied one. Used by the strength analysis (#6812).
Gavin Gray (@gavinleroy)Add module type information to compiler artifacts (cms/merlin-index)
This PR adds module facts to build artifacts. The module facts help us answer module flow queries such as "which modules must implement a given module type".
Gavin Gray (@gavinleroy)Add multi-implementation interface strengthening query
Stacked on #6812.
Gavin Gray (@gavinleroy)Add store-to-load forwarding to CFG CSE
After a plain store, record an equation in the mutable-load
Xavier Clerc (@xclerc)