aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Cutil.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-02-06 14:33:12 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2017-02-06 14:33:12 +0100
commit9e9ef45a2315694bf6efbfe8b8c9a0dd9f19e292 (patch)
treec147d0be486d8edbb9594649b99576aebe689651 /cparser/Cutil.mli
parentcbc198ed8447e2089af65f790ceac6c620d361f5 (diff)
downloadcompcert-kvx-9e9ef45a2315694bf6efbfe8b8c9a0dd9f19e292.tar.gz
compcert-kvx-9e9ef45a2315694bf6efbfe8b8c9a0dd9f19e292.zip
Generalized function to allow adding hex strings.
The intconst function comes with an optional parameter to add an hex string for later printing.
Diffstat (limited to 'cparser/Cutil.mli')
-rw-r--r--cparser/Cutil.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/cparser/Cutil.mli b/cparser/Cutil.mli
index ee3c7625..5e560e44 100644
--- a/cparser/Cutil.mli
+++ b/cparser/Cutil.mli
@@ -221,8 +221,8 @@ val field_of_arrow_access: Env.t -> typ -> string -> field
(* Constructors *)
-val intconst : int64 -> ikind -> exp
- (* Build expression for given integer constant. *)
+val intconst : ?hex:bool -> int64 -> ikind -> exp
+ (* Build expression for given integer constant with optional hex string. *)
val floatconst0 : exp
(* Build expression for (double)0. *)
val nullconst : exp