aboutsummaryrefslogtreecommitdiff
path: root/kernel/cbytecodes.ml
diff options
context:
space:
mode:
authorMaxime Dénès2018-02-24 09:33:03 +0100
committerMaxime Dénès2018-02-24 09:33:03 +0100
commitbd41af496fd09d6ecd965190cad2873f1cd6b029 (patch)
tree029c44d509cdaba200db07dfed61adb55b237f9e /kernel/cbytecodes.ml
parentc4aeaa7aedb04bf156a4946b05bad8f66d5eec69 (diff)
parent557c5a2938f16c0601f5a0323c66b78d2da01ee9 (diff)
Merge PR #6784: New IR in VM: Clambda
Diffstat (limited to 'kernel/cbytecodes.ml')
-rw-r--r--kernel/cbytecodes.ml13
1 files changed, 0 insertions, 13 deletions
diff --git a/kernel/cbytecodes.ml b/kernel/cbytecodes.ml
index 6d91c3ec9e..aa6c49bc79 100644
--- a/kernel/cbytecodes.ml
+++ b/kernel/cbytecodes.ml
@@ -350,16 +350,3 @@ and pp_bytecodes c =
pp_bytecodes l1 ++ pp_bytecodes l2 ++ pp_bytecodes c
| i :: c ->
pp_instr i ++ fnl () ++ pp_bytecodes c
-
-(*spiwack: moved this type in this file because I needed it for
- retroknowledge which can't depend from cbytegen *)
-type block =
- | Bconstr of constr
- | Bstrconst of structured_constant
- | Bmakeblock of int * block array
- | Bconstruct_app of int * int * int * block array
- (* tag , nparams, arity *)
- | Bspecial of (comp_env -> block array -> int -> bytecodes -> bytecodes) * block array
- (* spiwack: compilation given by a function *)
- (* compilation function (see get_vm_constant_dynamic_info in
- retroknowledge.mli for more info) , argument array *)