diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1995-11-02 14:07:52 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1995-11-02 14:07:52 +0000 |
commit | bf74ce3ea54d79954693b7f63d7dadbd59701ab8 (patch) | |
tree | dce3a96830a96eb6f26cfcea30c9542386c0ef6a /byterun/roots.c | |
parent | 59b4e67cad67f0562be8ae639bb4a3ec25c37bee (diff) | |
download | ocaml-bf74ce3ea54d79954693b7f63d7dadbd59701ab8.tar.gz |
Il faut oldifier global_data maintenant que input_value peut allouer son bloc dans le tas mineur
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@388 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/roots.c')
-rw-r--r-- | byterun/roots.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/byterun/roots.c b/byterun/roots.c index 5105272395..0875f83403 100644 --- a/byterun/roots.c +++ b/byterun/roots.c @@ -44,7 +44,7 @@ void register_global_root(r) global_roots = gr; } -/* Call [oldify] on all stack roots and C roots */ +/* Call [oldify] on all roots */ void oldify_local_roots () { @@ -52,6 +52,9 @@ void oldify_local_roots () value * block; struct global_root * gr; + /* Global variables */ + oldify(global_data, &global_data); + /* The stack */ for (sp = extern_sp; sp < stack_high; sp++) { oldify (*sp, sp); |