ocaml/testsuite
KC Sivaramakrishnan 9355b4e8f5
Initialise in caml_obj_block / Obj.new_block only when necessary (#9513)
caml_alloc returns initialised blocks for tag < No_scan_tag. Otherwise,
initialise the blocks as necessary.

For Abtract_tag, Double_tag and Double_array_tag, the initial contents
are irrelevant.

Uninitialised Custom_tag objects are difficult to use correctly. Hence,
reject custom block allocations through Obj.new_block.

For String_tag, the last byte encodes the string length. Hence, reject
zero-length string objects. Initialise the last byte which encodes the
length to ensure non-negative lengths for uninitialised strings.
2020-05-02 18:47:16 +02:00
..
lib Revert "AppVeyor speed-ups" 2020-04-20 09:55:54 +01:00
tests Initialise in caml_obj_block / Obj.new_block only when necessary (#9513) 2020-05-02 18:47:16 +02:00
tools Update testsuite with new backtrace format, and add test for names 2020-04-27 12:58:53 +01:00
HACKING.adoc Typo. 2018-09-09 00:24:38 +02:00
Makefile [minor] fix a Makefile warning by defining undefined variables 2020-04-07 15:06:12 +02:00
summarize.awk testsuite: remove dead code 2019-06-11 11:57:09 +02:00