summaryrefslogtreecommitdiffstats
path: root/byterun/interp.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1996-05-28 12:41:37 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1996-05-28 12:41:37 +0000
commit280167a6a65e28caec9ef1af78204aea0b2bc6e4 (patch)
tree555e074fac3b1b4f8a2b506bd3065c6c6c126642 /byterun/interp.c
parent7714c02c6802469aa3edab124086e9dbfcab081e (diff)
fix_code, meta, interp: remplacement de execute_bytecode par reify_bytecode.
lexing: ne plus faire de callbacks, incompatibles avec les threads. autres: rectifications #includes. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@844 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/interp.c')
-rw-r--r--byterun/interp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/byterun/interp.c b/byterun/interp.c
index 6f11a3d17..5dd3ccae8 100644
--- a/byterun/interp.c
+++ b/byterun/interp.c
@@ -126,7 +126,10 @@ value interprete(prog, prog_size)
#endif
#ifdef THREADED_CODE
- if (prog[0] <= STOP) thread_code(prog, prog_size, jumptable);
+ if (prog[0] <= STOP) {
+ instr_table = jumptable;
+ thread_code(prog, prog_size);
+ }
#endif
sp = extern_sp;