From 712f3cbae6bfd3c6f6cc40d44f438aa0affcd371 Mon Sep 17 00:00:00 2001 From: xleroy Date: Tue, 18 Dec 2012 07:54:35 +0000 Subject: 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 --- cparser/Cutil.mli | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cparser/Cutil.mli') 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 *) -- cgit