diff --git a/byterun/interp.c b/byterun/interp.c index c3a3e9e19..adb5075a3 100644 --- a/byterun/interp.c +++ b/byterun/interp.c @@ -1055,7 +1055,7 @@ value caml_interprete(code_t prog, asize_t prog_size) #endif } -void caml_clear_bytecode(code_t prog, asize_t prog_size) { +void caml_release_bytecode(code_t prog, asize_t prog_size) { /* other implementations of the interpreter (such as an hypothetical JIT translator) might want to know when a bytecode is removed */ /* check that we have a program */ diff --git a/byterun/interp.h b/byterun/interp.h index f22065836..bc0a92040 100644 --- a/byterun/interp.h +++ b/byterun/interp.h @@ -27,6 +27,6 @@ value caml_interprete (code_t prog, asize_t prog_size); /* tell the runtime that a bytecode program is no more needed */ -void caml_clear_bytecode(code_t prog, asize_t prog_size); +void caml_release_bytecode(code_t prog, asize_t prog_size); #endif /* CAML_INTERP_H */