summaryrefslogtreecommitdiffstats
path: root/bytecomp/lambda.mli
diff options
context:
space:
mode:
Diffstat (limited to 'bytecomp/lambda.mli')
-rw-r--r--bytecomp/lambda.mli9
1 files changed, 8 insertions, 1 deletions
diff --git a/bytecomp/lambda.mli b/bytecomp/lambda.mli
index 7f5db6906..904ea6fd7 100644
--- a/bytecomp/lambda.mli
+++ b/bytecomp/lambda.mli
@@ -41,7 +41,7 @@ type primitive =
(* External call *)
| Pccall of Primitive.description
(* Exceptions *)
- | Praise
+ | Praise of raise_kind
(* Boolean operations *)
| Psequand | Psequor | Pnot
(* Integer operations *)
@@ -137,6 +137,11 @@ and bigarray_layout =
| Pbigarray_c_layout
| Pbigarray_fortran_layout
+and raise_kind =
+ | Raise_regular
+ | Raise_reraise
+ | Raise_notrace
+
type structured_constant =
Const_base of constant
| Const_pointer of int
@@ -233,3 +238,5 @@ val staticfail : lambda (* Anticipated static failure *)
(* Check anticipated failure, substitute its final value *)
val is_guarded: lambda -> bool
val patch_guarded : lambda -> lambda -> lambda
+
+val raise_kind: raise_kind -> string