summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New implementation of Env.make_copy_of_typessimplify_duplicate_ident_optimAlain Frisch2019-06-284-232/+90
|
* Simplif: fix the local-function optimization on Tupled functions (#8707)Gabriel Scherer2019-06-272-24/+58
| | | | | | | | | | | | | | This is a fix of #8705 proposed for trunk: instead of disabling the problematic behavior (the Tupled case) as proposed in #8706, we propose an auxiliary function to correctly determine whether an application is exact, and use it there and also for existing Simplif transformations. As a side-benefit, the other Simplif optimizations are also improved (thanks to a suggestion of Alain Frisch for constant blocks). For example, the following beta-redex was not reduced by Simplif before this patch, due to the fact that its arguments are constant: (fun (x,y) -> x + y) (1, 2)
* Fix typographic issues in the doc of new modules (#8744)Guillaume Munch-Maccagnoni2019-06-267-10/+10
| | | | | | * Fix typographic issues in the doc of new modules No change entry needed
* manual: recover compatibility with case-insensitive file systemsDamien Doligez2019-06-256-6/+7
|
* Merge pull request #8708 from gretay-js/funsizeNicolás Ojeda Bär2019-06-252-0/+42
|\ | | | | Add .size directive in runtime assembly functions
| * Address review commentGreta Yorsh2019-06-241-1/+0
| |
| * Add .size directive in runtime functionsGreta Yorsh2019-06-242-0/+43
| |
* | Add Filename.quote_command function (#1492)Xavier Leroy2019-06-259-33/+331
|/ | | | | | | | | | | | | | | | MPR#7672: add a Filename.quote_command function This function takes care of quoting the command and its arguments so that they are correctly parsed by the system shell (/bin/sh for Unix, cmd.exe for Win32). Redirections for std input (< file) and std output (> file) and std error (2> file) can also be specified as optional arguments. A 2>&1 redirection is used if stdout and stderr are redirected to the same file. The result is a string that can be passed directly to Sys.command or to the Unix functions that expect shell command lines.
* Add pseudo-instruction `Ladjust_trap_depth` (#2322)Greta Yorsh2019-06-2411-18/+75
| | | | | | | | | | Ladjust_trap_depth replaces dummy Lpushtrap generated in linearize of Iexit to notify assembler generation about updates to the stack. Ladjust_trap_depth is used to keep the virtual stack pointer in sync and emit dwarf information, without emitting any assembly instructions. It therefore avoids generating dead code. This patch is extract from PR1482 @lthls
* Merge pull request #8755 from gasche/improve-depend-from-scratchDavid Allsopp2019-06-243-7/+12
|\ | | | | Improve running make alldepend from a clean tree
| * Use boot ocamllex when building ocamltestDavid Allsopp2019-06-241-1/+1
| |
| * Missing beforedepend dependencies for MenhirDavid Allsopp2019-06-241-0/+3
| | | | | | | | | | Ensures that Menhir's sources are in place for a "from scratch" `make alldepend`
| * fix dynlink/Makefile 'depend' target to work from non-built treesGabriel Scherer2019-06-241-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dynlink does a weird dance of copying compiler files from various places. The 'depend' target does not perform this copying, and instead just 'touch'es the files that should be present to run -- defined in DEPEND_DUMMY_FILES: if you run 'depend' after a build, you get the real content of the files, but if you run without building you get empty files. This is (dubious but apparently) correct for most of those files which should not generate dependencies anyway, but not for dynlink_platform_intf.mli which contains important dependencies (as in: removing them breaks the parallel build) and should be properly built before 'depend' runs.
| * Makefile: ocamllex does not depend on ocamlc, it uses BOOT_OCAMLCGabriel Scherer2019-06-241-1/+1
| | | | | | | | | | | | It seems that the dependency was introduced in 1998 87b17301f4a408109a0f00f7a297b02c79724bc1 and it was already unnecessary at the time.
* | Merge pull request #8751 from nojb/amd64_align_data_sectionNicolás Ojeda Bär2019-06-242-0/+5
|\ \ | | | | | | amd64: align data section to word boundary
| * | ChangesNicolás Ojeda Bär2019-06-241-0/+4
| | |
| * | amd64: align data segment to word boundaryNicolás Ojeda Bär2019-06-241-0/+1
|/ /
* | Stop talking about Pervasives in core library documentationIan Zimmerman2019-06-232-4/+7
|/
* Merge pull request #8756 from rixed/patch-3Nicolás Ojeda Bär2019-06-201-1/+1
|\ | | | | typo
| * typoCedric Cellier2019-06-201-1/+1
|/
* make alldepend (again ?!)Gabriel Scherer2019-06-201-1/+2
|
* Merge pull request #8754 from rixed/patch-2Nicolás Ojeda Bär2019-06-201-1/+1
|\ | | | | Update intf-c.etex
| * Update intf-c.etexCedric Cellier2019-06-201-1/+1
|/ | | Fix typo
* actually remove tools/addlabels.ml, leftover from #8663Gabriel Scherer2019-06-196-566/+79
|
* Improve shell scripts (#1690)zapashcanon2019-06-199-89/+92
|
* Merge pull request #2309 from TheLortex/runtime-variant-pathGabriel Scherer2019-06-1915-6/+73
|\ | | | | Add -noruntime option
| * without-runtime: cosmetic tweaksLucas Pluvinage2019-06-116-7/+17
| |
| * Introduce the -without-runtime option.Lucas Pluvinage2019-05-0615-6/+63
| |
* | Fix the instructions for uploading the manual to the Web server.Damien Doligez2019-06-191-2/+4
| | | | | | | | Closes: #8740
* | Merge pull request #8745 from jhjourdan/fix_tsan_caml_something_to_doGabriel Scherer2019-06-195-10/+16
|\ \ | | | | | | Fix Thread sanitizer after GPR#8691.
| * | Fix Thread sanitizer after GPR#8691.Jacques-Henri Jourdan2019-06-185-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GPR#8691 refactored the signal/async callback system, and introduced new data races to `caml_something_to_do` and friends. These data races morally already existed and are "benign", in the sense that they can only cause more checks for async callbacks. The corresponding functions are now marked with a special attribute for whitelisting them. We do no longer use -fsanitize-blacklist, which seemed to fail preventing warnings (???).
* | | Move AST testing rules to Makefile.dev (#8743)David Allsopp2019-06-183-28/+55
|/ / | | | | | | | | | | | | | | | | Makefile.dev is only included if a Git clone is detected. make evaluates macros in target specifications when the Makefile is read, which meant that the build-all-asts target caused `git ls-files` to be called on every invocation of make. This tweaks it to be a recursive call to make which puts the $(AST_FILES) macro in the recipe where it is only evaluated when the target is requested.
* | Update the clean target in the testsuiteSébastien Hinderer2019-06-171-3/+0
| | | | | | | | | | | | | | | | | | This is a follow-up to commit a0fa9aa6e85ca4db9fc19389f89be9ff0d3bd00f It removes the part of the clean target that invoked `make clean` recursively. This is no longer needed and produced an error because the interactive directory on which find was invoked had been removed in commit f72a4b58f1881669de45228b2cb2059dd2ceabd0.
* | Drop dependency utils/config.ml <-- MakefileDavid Allsopp2019-06-161-1/+1
| | | | | | | | The recipe is trivial, so the dependency promotes unnecessary rebuilding.
* | Merge pull request #8739 from thizanne/option_docDavid Allsopp2019-06-161-2/+1
|\ \ | | | | | | Fix Option.bind doc comment
| * | Fix Option.bind doc commentThibault Suzanne2019-06-151-2/+1
|/ /
* | fix typo in Changes entry #1711Damien Doligez2019-06-141-1/+1
| |
* | more fixes for release-checklistDamien Doligez2019-06-141-67/+48
| |
* | Merge pull request #8652 from dra27/travis-branchesDavid Allsopp2019-06-133-18/+33
|\ \ | | | | | | Widen the test for configure regeneration in Travis
| * | Remove GNUism from autogenDavid Allsopp2019-05-011-1/+2
| | | | | | | | | | | | Relative addressing is a GNU sed extension.
| * | Eliminate use of -i in autogenDavid Allsopp2019-05-011-4/+8
| | | | | | | | | | | | -i without writing a backup is not portable.
| * | Force autoconf to runDavid Allsopp2019-05-011-1/+1
| | |
| * | Update release-checklistDavid Allsopp2019-04-301-2/+4
| | |
| * | Fix error message displayed on Travis pushDavid Allsopp2019-04-301-7/+14
| | |
| * | Check all necessary paths for configureDavid Allsopp2019-04-301-4/+5
| | |
* | | Fix PR8701 by expanding types in lower_contravariant (#8725)Jacques Garrigue2019-06-133-13/+41
| | |
* | | testsuite: remove dead codeSébastien Hinderer2019-06-115-192/+3
| | | | | | | | | | | | | | | | | | This commit gets rid of the testsuite/makefiles subdirectory. The summarize.awk file is moved to the testsuite directory, while Makefile.one and Makefile.common are removed because they are no longer used.
* | | Merge pull request #8691 from jhjourdan/no_callback_c_allocStephen Dolan2019-06-1125-265/+402
|\ \ \ | | | | | | | | Guarantee that allocation functions do no trigger callbacks when called from C
| * | | Use [caml_something_to_do] both in native and bytecode mode to remember that ↵Jacques-Henri Jourdan2019-06-0613-102/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | callbacks are pending. This make us able to get rid of to xxx_to_do variables in `final.c` and `memprof.c`. The variable is reset to 0 when entering `caml_check_urgent_gc`, which is now the main entry point for asynchronous callbacks. In case a callback raises an exception, we need to set it back to 1 to make sure no callback is missed.
| * | | Refactor the postponed blocks machinery in memprof.cJacques-Henri Jourdan2019-06-058-115/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes sure that: - Callbacks are never called when another is running - The postponed queue is purged when setting memprof parameters We now use a FIFO implemented as a circular buffer for remembering of postponed blocks.