diff options
| author | mdenes | 2013-01-22 17:37:00 +0000 |
|---|---|---|
| committer | mdenes | 2013-01-22 17:37:00 +0000 |
| commit | 6b908b5185a55a27a82c2b0fce4713812adde156 (patch) | |
| tree | c2857724d8b22ae3d7a91b3a683a57206caf9b54 /intf | |
| parent | 62ce65dadb0afb8815b26069246832662846c7ec (diff) | |
New implementation of the conversion test, using normalization by evaluation to
native OCaml code.
Warning: the "retroknowledge" mechanism has not been ported to the native
compiler, because integers and persistent arrays will ultimately be defined as
primitive constructions. Until then, computation on numbers may be faster using
the VM, since it takes advantage of machine integers.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16136 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'intf')
| -rw-r--r-- | intf/genredexpr.mli | 1 | ||||
| -rw-r--r-- | intf/misctypes.mli | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/intf/genredexpr.mli b/intf/genredexpr.mli index 97f9b04848..1096ecb1f8 100644 --- a/intf/genredexpr.mli +++ b/intf/genredexpr.mli @@ -41,6 +41,7 @@ type ('a,'b,'c) red_expr_gen = | Pattern of 'a Locus.with_occurrences list | ExtraRedExpr of string | CbvVm of 'c Locus.with_occurrences option + | CbvNative of 'c Locus.with_occurrences option type ('a,'b,'c) may_eval = | ConstrTerm of 'a diff --git a/intf/misctypes.mli b/intf/misctypes.mli index 3a044018c4..164fd60c9e 100644 --- a/intf/misctypes.mli +++ b/intf/misctypes.mli @@ -58,6 +58,7 @@ type 'a cast_type = | CastConv of 'a | CastVM of 'a | CastCoerce (** Cast to a base type (eg, an underlying inductive type) *) + | CastNative of 'a (** Bindings *) |
