summaryrefslogtreecommitdiffstats
path: root/byterun/obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/obj.c')
-rw-r--r--byterun/obj.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/byterun/obj.c b/byterun/obj.c
index 21abd9e0c..6f95f952a 100644
--- a/byterun/obj.c
+++ b/byterun/obj.c
@@ -46,6 +46,8 @@ CAMLprim value caml_static_release_bytecode(value blk, value size)
{
#ifndef NATIVE_CODE
caml_release_bytecode((code_t) blk, (asize_t) Long_val(size));
+#else
+ caml_failwith("Meta.static_release_bytecode impossible with native code");
#endif
return Val_unit;
}