src/Pure/compress.ML
changeset 24058 81aafd465662
parent 23922 707639e9497d
child 25697 a4b7eb4e20fd
--- a/src/Pure/compress.ML	Sun Jul 29 16:00:06 2007 +0200
+++ b/src/Pure/compress.ML	Sun Jul 29 17:28:55 2007 +0200
@@ -47,7 +47,7 @@
           in change typs (Typtab.update (T', T')); T' end);
   in compress end;
 
-fun typ ty = CRITICAL (fn () => compress_typ ty);
+fun typ ty = NAMED_CRITICAL "compress" (fn () => compress_typ ty);
 
 
 (* compress atomic terms *)
@@ -63,6 +63,6 @@
           | NONE => (change terms (Termtab.update (t, t)); t));
   in compress o map_types (compress_typ thy) end;
 
-fun term tm = CRITICAL (fn () => compress_term tm);
+fun term tm = NAMED_CRITICAL "compress" (fn () => compress_term tm);
 
 end;