summaryrefslogtreecommitdiffstats
path: root/bytecomp/lambda.ml
diff options
context:
space:
mode:
authorFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>2012-11-06 17:03:34 +0000
committerFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>2012-11-06 17:03:34 +0000
commit95c20bc6aece97adee9adc812fc8ac29a52552f3 (patch)
treef54f9d5b97a87a1ef400a1ada77d64c1f17248e1 /bytecomp/lambda.ml
parentf1fb961192acd95eed1dd15580b1051e7be61b2c (diff)
PR#5762: Add primitives for fast access to bigarray dimensions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13069 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'bytecomp/lambda.ml')
-rw-r--r--bytecomp/lambda.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/bytecomp/lambda.ml b/bytecomp/lambda.ml
index a8479052c..e2f9e06e1 100644
--- a/bytecomp/lambda.ml
+++ b/bytecomp/lambda.ml
@@ -84,6 +84,8 @@ type primitive =
(* Operations on big arrays: (unsafe, #dimensions, kind, layout) *)
| Pbigarrayref of bool * int * bigarray_kind * bigarray_layout
| Pbigarrayset of bool * int * bigarray_kind * bigarray_layout
+ (* size of the nth dimension of a big array *)
+ | Pbigarraydim of int
and comparison =
Ceq | Cneq | Clt | Cgt | Cle | Cge