Commit Graph

51 Commits (1ed1b20201e49666e37baff57099d9f4a190c440)

Author SHA1 Message Date
Alain Frisch 7bb3e64160 Do not introduce Obj.raw_tag.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/raise_variants@14270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-06 10:57:20 +00:00
Alain Frisch 5ef2ee909f Support for exception values allocated in the static area (e.g. out of bound exception in native code).
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/raise_variants@14242 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-23 15:17:05 +00:00
Alain Frisch fc87ceee89 Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/raise_variants@14241 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-23 15:04:00 +00:00
Alain Frisch 0f6f367ad4 Change the representation of exception slots: instead of being represented as 'string ref', they are now blocks
of size 2, with tag = Object_tag, the first field being the pointer to the string, and second one being a unique id, generated
from the same sequence as for object values.  Special case for predefined exceptions, represented with a negative id.

The unique id generator is moved from camlinternalOO to the C runtime system.

Also fix some bugs.



git-svn-id: http://caml.inria.fr/svn/ocaml/branches/raise_variants@14239 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-23 14:28:31 +00:00
Damien Doligez def31744f9 remove all $Id keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez e7f5b858c2 More renaming to OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 16:15:24 +00:00
Damien Doligez 334a2fdbe6 remove useless call to Modify
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-30 16:29:14 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez 7539834933 big bug in Obj.add_offset
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9561 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-25 11:55:30 +00:00
Damien Doligez bdc0fadee2 merge changes from release/3.11.1 to release/3.11.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Damien Doligez 99ef8c802e add unaligned_tag
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8795 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-29 13:11:15 +00:00
Jacques Garrigue 759304681e grant PR#3760
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8790 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-25 08:39:49 +00:00
Xavier Leroy a3c0366f4e PR#4448: replace dense page table by sparse hash table.
Introduction and use of macros Is_in_value_area, Is_in_heap_or_young.
Removal of USE_MMAP_INSTEAD_OF_MALLOC.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8743 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-03 09:37:10 +00:00
Damien Doligez ca6ab5f7d0 PR#3406, parentheses
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6742 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-04 16:29:33 +00:00
Damien Doligez 51ac0f737e PR#3406 CAMLreturn manquant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6741 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-04 15:39:44 +00:00
Damien Doligez c3a39fc8c8 Fusion des modifs de la branche release308 entre 3.08.0 et 3.08.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-20 17:04:35 +00:00
Xavier Leroy 19203b2b1c Merge fix PR#2946 Obj.tag
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6585 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-12 12:56:04 +00:00
Jacques Garrigue 6ca9627bfa pour CAML_JIT
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6375 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-05 01:15:53 +00:00
Basile Starynkevitch a121b35b97 functions caml_cache_public_method and caml_cache_public_method2 might be useful for jit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6371 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-04 13:05:18 +00:00
Jacques Garrigue 6a940ef65d switch to new vtable representation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-26 11:10:52 +00:00
Basile Starynkevitch 95108d464b caml_static_release_bytecode should fail when NATIVE_CODE
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6231 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-17 06:44:26 +00:00
Damien Doligez e66365b066 include interp.h
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6230 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-16 15:34:31 +00:00
Basile Starynkevitch d9f7343eda release_bytecode only without NATIVE_CODE
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6228 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-16 14:47:06 +00:00
Basile Starynkevitch 27f4189920 added caml_static_release_bytecode
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6226 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-16 13:53:01 +00:00
Basile Starynkevitch 804e703c80 typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6225 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-16 13:47:01 +00:00
Basile Starynkevitch 941263f019 added static_release_bytecode
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6224 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-16 13:46:43 +00:00
Damien Doligez 0c7aecb88d depollution suite (et fin?) (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-02 19:23:29 +00:00
Damien Doligez 5a678d29f5 depollution suite (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 16:42:43 +00:00
Damien Doligez 331b2d89c3 depollution suite (PR#1914, PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-31 14:20:40 +00:00
Damien Doligez 31943bac1d depollution suite (PR#1914 et PR#1956); byterun/weak.c: PR#1929 suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-29 22:15:02 +00:00
Damien Doligez e969e8ad9f PR#1878
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5873 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-16 23:22:23 +00:00
Xavier Leroy 37ea8fd4fd Correction de obj_dup dans le cas ou le bloc a copier est >= Max_young_wosize
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5613 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 12:46:13 +00:00
Damien Doligez dd63c45e38 PR#1379
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5136 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-18 13:59:27 +00:00
Damien Doligez 069204e04f bug subtil obj_truncate
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4880 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-05 12:10:40 +00:00
Damien Doligez 0dbce74fc8 lazy a la Tolmach
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4291 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 17:39:10 +00:00
Xavier Leroy 7501784c80 MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Xavier Leroy ddd99c7e5d Chargement dynamique de primitives C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-28 14:47:48 +00:00
Damien Doligez 21fd21f35f truncate sur tableau de floats PR#156
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3233 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-07-10 11:28:38 +00:00
Damien Doligez a843096a99 codes pour faciliter le debug
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-03 08:34:22 +00:00
Xavier Leroy a64b49e9a3 Bug dans le fix precedent (PR#61)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3022 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-30 17:33:43 +00:00
Xavier Leroy 7feb8382c4 Bug subtil de GC dans obj_truncate (PR#61)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-30 17:29:09 +00:00
Damien Doligez 794e9c495b Blue -> Caml_blue etc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2725 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-02 16:10:00 +00:00
Damien Doligez 63e272ecc5 Begin_roots -> CAMLparam
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:03:05 +00:00
Xavier Leroy cc0f32b054 Changement de la licence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Damien Doligez 5eea37c4c3 ajout primitive Obj.truncate
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2081 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-08-27 12:11:51 +00:00
Jérôme Vouillon 87b17301f4 Nouvelle syntaxe des classes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1997 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-06-24 19:22:26 +00:00
Xavier Leroy 0436b11bfd Nouvelle interface pour do_local_roots en natif
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1793 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-20 15:30:43 +00:00
Xavier Leroy 1517cea772 Sources C convertis en ANSI C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-09-02 12:55:01 +00:00
Xavier Leroy 2301d778e7 Renommage en Objective Caml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Xavier Leroy e4066357b1 Ajout des notices de copyright
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@195 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-08-09 15:06:35 +00:00