summaryrefslogtreecommitdiffstats
path: root/byterun/interp.c
diff options
context:
space:
mode:
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;