diff options
author | Son Ho | 2023-01-13 16:18:43 +0100 |
---|---|---|
committer | Son HO | 2023-02-03 11:21:46 +0100 |
commit | e69382acbcc4bdd27612c9cf8ec282db71f8408d (patch) | |
tree | 61d2ab1565d1d8ee083308a92f05e547e0583f98 /compiler/PureMicroPasses.ml | |
parent | 6de775cde92e37f2e5e70d3db34a326a4c831920 (diff) |
Improve the pretty names generation for loops
Diffstat (limited to '')
-rw-r--r-- | compiler/PureMicroPasses.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/PureMicroPasses.ml b/compiler/PureMicroPasses.ml index e670570b..3614487e 100644 --- a/compiler/PureMicroPasses.ml +++ b/compiler/PureMicroPasses.ml @@ -1723,6 +1723,8 @@ let apply_passes_to_def (ctx : trans_ctx) (def : fun_decl) : ^ Print.option_to_string T.RegionGroupId.to_string def.back_id ^ ")")); + log#ldebug (lazy ("original decl:\n\n" ^ fun_decl_to_string ctx def ^ "\n")); + (* First, find names for the variables which are unnamed *) let def = compute_pretty_names def in log#ldebug |