aboutsummaryrefslogtreecommitdiffstats
path: root/caml/CMtypecheck.ml
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2008-05-30 12:27:15 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2008-05-30 12:27:15 +0000
commitf4b41226d60ca57c5981b0a46e0a495152b5301f (patch)
treefb3ea7a1cabfc5e4c56ecc1b60eeacd2883a8293 /caml/CMtypecheck.ml
parentf77e0ade09d8fd17add98c3bc4317627078f3aa8 (diff)
downloadcompcert-f4b41226d60ca57c5981b0a46e0a495152b5301f.tar.gz
compcert-f4b41226d60ca57c5981b0a46e0a495152b5301f.zip
Introduction de l'operation intuoffloat (float -> unsigned int). Pas encore utilisee dans le front-end C.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@647 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'caml/CMtypecheck.ml')
-rw-r--r--caml/CMtypecheck.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/caml/CMtypecheck.ml b/caml/CMtypecheck.ml
index 625c36fc..dccaadcf 100644
--- a/caml/CMtypecheck.ml
+++ b/caml/CMtypecheck.ml
@@ -99,6 +99,7 @@ let type_unary_operation = function
| Oabsf -> tfloat, tfloat
| Osingleoffloat -> tfloat, tfloat
| Ointoffloat -> tfloat, tint
+ | Ointuoffloat -> tfloat, tint
| Ofloatofint -> tint, tfloat
| Ofloatofintu -> tint, tfloat
@@ -142,6 +143,7 @@ let name_of_unary_operation = function
| Oabsf -> "absf"
| Osingleoffloat -> "singleoffloat"
| Ointoffloat -> "intoffloat"
+ | Ointuoffloat -> "intuoffloat"
| Ofloatofint -> "floatofint"
| Ofloatofintu -> "floatofintu"