summaryrefslogtreecommitdiffstats
path: root/byterun/startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/startup.c')
-rw-r--r--byterun/startup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/byterun/startup.c b/byterun/startup.c
index 6fdba1617..8298fe83f 100644
--- a/byterun/startup.c
+++ b/byterun/startup.c
@@ -477,6 +477,7 @@ CAMLexport void caml_startup_code(
/* Load the code */
caml_start_code = code;
caml_code_size = code_size;
+ caml_init_code_fragments();
if (caml_debugger_in_use) {
int len, i;
len = code_size / sizeof(opcode_t);