summaryrefslogtreecommitdiffstats
path: root/byterun/fix_code.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2004-01-01 16:42:43 +0000
committerDamien Doligez <damien.doligez-inria.fr>2004-01-01 16:42:43 +0000
commit5a678d29f58926a5cd7db0c9121c69cb603a77f9 (patch)
treec8157238e17990d5d90f9eeb1c08506e253593bb /byterun/fix_code.c
parent331b2d89c3dc4fb7e1b51276a5a9e37a6c8c8b3a (diff)
depollution suite (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/fix_code.c')
-rw-r--r--byterun/fix_code.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/fix_code.c b/byterun/fix_code.c
index 81fef5731..19c54c7f1 100644
--- a/byterun/fix_code.c
+++ b/byterun/fix_code.c
@@ -52,13 +52,13 @@ void load_code(int fd, asize_t len)
#ifdef ARCH_BIG_ENDIAN
fixup_endianness(start_code, code_size);
#endif
- if (debugger_in_use) {
+ if (caml_debugger_in_use) {
len /= sizeof(opcode_t);
saved_code = (unsigned char *) caml_stat_alloc(len);
for (i = 0; i < len; i++) saved_code[i] = start_code[i];
}
#ifdef THREADED_CODE
- /* Better to thread now than at the beginning of interprete(),
+ /* Better to thread now than at the beginning of [caml_interprete],
since the debugger interface needs to perform SET_EVENT requests
on the code. */
thread_code(start_code, code_size);