aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Cutil.mli
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-12-18 07:54:35 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-12-18 07:54:35 +0000
commit712f3cbae6bfd3c6f6cc40d44f438aa0affcd371 (patch)
tree913762a241b5f97b3ef4df086ba6adaeb2ff45c4 /cparser/Cutil.mli
parentc629161139899e43a2fe7c5af59ca926cdab370e (diff)
downloadcompcert-kvx-712f3cbae6bfd3c6f6cc40d44f438aa0affcd371.tar.gz
compcert-kvx-712f3cbae6bfd3c6f6cc40d44f438aa0affcd371.zip
Support for inline assembly (asm statements).
cparser: add primitive support for enum types. bitfield emulation: for bitfields with enum type, choose signed/unsigned as appropriate git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2074 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cparser/Cutil.mli')
-rw-r--r--cparser/Cutil.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/cparser/Cutil.mli b/cparser/Cutil.mli
index 64881178..54b63040 100644
--- a/cparser/Cutil.mli
+++ b/cparser/Cutil.mli
@@ -160,6 +160,9 @@ val valid_cast : Env.t -> typ -> typ -> bool
(* Check that a cast from the first type to the second is allowed. *)
val fundef_typ: fundef -> typ
(* Return the function type for the given function definition. *)
+val int_representable: int64 -> int -> bool -> bool
+ (* Is the given int64 representable with the given number of bits and
+ signedness? *)
(* Constructors *)