aboutsummaryrefslogtreecommitdiffstats
path: root/common/PrintAST.ml
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-08 09:49:24 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-08 09:49:24 +0200
commit84c5408706feb748cf364efcbe6a67512d622f40 (patch)
tree0f16ea36fecbda59de6911dd7a65ba0787d6bdde /common/PrintAST.ml
parentc6356cdc5f567a317afcb99cb004354cf7dcce0f (diff)
downloadcompcert-kvx-84c5408706feb748cf364efcbe6a67512d622f40.tar.gz
compcert-kvx-84c5408706feb748cf364efcbe6a67512d622f40.zip
added EF_profiling
Diffstat (limited to 'common/PrintAST.ml')
-rw-r--r--common/PrintAST.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/PrintAST.ml b/common/PrintAST.ml
index 3f718428..7f15bc91 100644
--- a/common/PrintAST.ml
+++ b/common/PrintAST.ml
@@ -61,7 +61,9 @@ let name_of_external = function
| EF_annot_val(kind,text, targ) -> sprintf "annot_val %S" (camlstring_of_coqstring text)
| EF_inline_asm(text, sg, clob) -> sprintf "inline_asm %S" (camlstring_of_coqstring text)
| EF_debug(kind, text, targs) ->
- sprintf "debug%d %S" (P.to_int kind) (extern_atom text)
+ sprintf "debug%d %S" (P.to_int kind) (extern_atom text)
+ | EF_profiling(id) ->
+ sprintf "profiling %LX" (Z.to_int64 id)
let rec print_builtin_arg px oc = function
| BA x -> px oc x