aboutsummaryrefslogtreecommitdiffstats
path: root/common/PrintAST.ml
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-08 11:35:17 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-08 11:35:17 +0200
commit1972df30827022dcb39110cddf9032eaa3dc61b9 (patch)
tree37a7e62cbe08675ca56d2f734104bd2d164f74e0 /common/PrintAST.ml
parent66f700d36891a90983bb97d245e04a2e97913c7d (diff)
downloadcompcert-kvx-1972df30827022dcb39110cddf9032eaa3dc61b9.tar.gz
compcert-kvx-1972df30827022dcb39110cddf9032eaa3dc61b9.zip
begin installing profiling
Diffstat (limited to 'common/PrintAST.ml')
-rw-r--r--common/PrintAST.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/PrintAST.ml b/common/PrintAST.ml
index 7f15bc91..69939428 100644
--- a/common/PrintAST.ml
+++ b/common/PrintAST.ml
@@ -62,8 +62,8 @@ let name_of_external = function
| 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)
- | EF_profiling(id) ->
- sprintf "profiling %LX" (Z.to_int64 id)
+ | EF_profiling(id, kind) ->
+ sprintf "profiling %LX %d" (Z.to_int64 id) (Z.to_int kind)
let rec print_builtin_arg px oc = function
| BA x -> px oc x