diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2018-02-23 23:28:44 +0100 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2018-06-10 19:54:10 +0200 |
commit | 375a47bab8395695a4f74e19691854d2d0248045 (patch) | |
tree | 088fedcdcab698d588e7b9fb0588d939923d5bc4 /kernel/vmvalues.mli | |
parent | 51a56b1aacb516af513de64c00dd7e796f661484 (diff) |
[VM] Remove projection names from structured constants.
It was actually a hack since those names are never used to represent
values, only to be passed as arguments to bytecode instructions. So
instead of reusing the structured_constant type, we follow the same
pattern as switch annotations.
Diffstat (limited to 'kernel/vmvalues.mli')
-rw-r--r-- | kernel/vmvalues.mli | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/vmvalues.mli b/kernel/vmvalues.mli index 550791b2c..08d05a038 100644 --- a/kernel/vmvalues.mli +++ b/kernel/vmvalues.mli @@ -112,6 +112,7 @@ val val_of_proj : Constant.t -> values -> values val val_of_atom : atom -> values external val_of_annot_switch : annot_switch -> values = "%identity" +external val_of_proj_name : Constant.t -> values = "%identity" (** Destructors *) |