summaryrefslogtreecommitdiffstats
path: root/byterun/gc_ctrl.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1995-07-10 09:48:27 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1995-07-10 09:48:27 +0000
commitc226d5efeb43f25c7086e89733ec8073262aa2e0 (patch)
tree481cda5fe83465c0acf991782d8848ec867bd946 /byterun/gc_ctrl.c
parentbbbf6d016497de98d776934e20fbac905d48d6a1 (diff)
Branchement du GC de la version bytecode sur le compilateur natif
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@72 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/gc_ctrl.c')
-rw-r--r--byterun/gc_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/gc_ctrl.c b/byterun/gc_ctrl.c
index 0c2f167f6..c81530666 100644
--- a/byterun/gc_ctrl.c
+++ b/byterun/gc_ctrl.c
@@ -86,7 +86,7 @@ value gc_stat(v) /* ML */
res = alloc (13, 0);
Field (res, 0) = Val_long (stat_minor_words
- + Wsize_bsize (young_ptr - young_start));
+ + Wsize_bsize (young_end - young_ptr));
Field (res, 1) = Val_long (stat_promoted_words);
Field (res, 2) = Val_long (stat_major_words + allocated_words);
Field (res, 3) = Val_long (stat_minor_collections);