diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-04-10 18:09:34 +0200 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-04-10 18:09:34 +0200 |
commit | b19b9defebf96ba8599f481d4c617d43c21642ef (patch) | |
tree | 364f8dcb7c689af5453e405878528b5a1d839ba7 /backend/Profilingaux.ml | |
parent | 5659daa886559566fdb6306d989578707838a267 (diff) | |
download | compcert-kvx-b19b9defebf96ba8599f481d4c617d43c21642ef.tar.gz compcert-kvx-b19b9defebf96ba8599f481d4c617d43c21642ef.zip |
use proper local labels
Diffstat (limited to 'backend/Profilingaux.ml')
-rw-r--r-- | backend/Profilingaux.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/Profilingaux.ml b/backend/Profilingaux.ml index a1d41ceb..0ba739c2 100644 --- a/backend/Profilingaux.ml +++ b/backend/Profilingaux.ml @@ -48,13 +48,14 @@ let load_profiling_info (filename : string) : unit = let id : identifier = really_input_string ic 16 in let counter0 = input_counter ic in let counter1 = input_counter ic in - (* Printf.fprintf stderr "%a : %Ld %Ld\n" pp_id id counter0 counter1; *) + (* Printf.fprintf stderr "%a : %Ld %Ld\n" pp_id id counter0 counter1 *) add_profiling_counts id counter0 counter1 done with End_of_file -> close_in ic;; let condition_oracle (id : identifier) : bool option = let (count0, count1) = get_counts id in - (* Printf.fprintf stderr "%a : %Ld %Ld\n" pp_id id count0 count1; *) + (if count0 <> 0L || count1 <> 0L then + Printf.fprintf stderr "%a : %Ld %Ld\n" pp_id id count0 count1); if count0 = count1 then None else Some(count1 > count0);; |