From f4b41226d60ca57c5981b0a46e0a495152b5301f Mon Sep 17 00:00:00 2001 From: xleroy Date: Fri, 30 May 2008 12:27:15 +0000 Subject: 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 --- caml/CMtypecheck.ml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'caml/CMtypecheck.ml') 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" -- cgit