diff options
Diffstat (limited to 'kernel/vm.ml')
-rw-r--r-- | kernel/vm.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/vm.ml b/kernel/vm.ml index 59681e8f1..338936250 100644 --- a/kernel/vm.ml +++ b/kernel/vm.ml @@ -343,6 +343,8 @@ let val_of_constant_def n c v = Obj.set_field res 1 (Obj.repr (Aiddef(ConstKey c, v))); val_of_obj res +external val_of_annot_switch : annot_switch -> values = "%identity" + let mkrel_vstack k arity = let max = k + arity - 1 in Array.init arity (fun i -> val_of_rel (max - i)) |