about summary refs log tree commit diff
path: root/src/boot
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2010-06-25 23:03:06 -0700
committerGraydon Hoare <graydon@mozilla.com>2010-06-25 23:03:06 -0700
commit90eaaf666b640433d20d5a1320637e8027924297 (patch)
tree47cd5d5f044b2c6ebb161cc869363efde425fdfc /src/boot
parent49ac5e631224da77568e685571af5d08ab407060 (diff)
Improve sever_slot logging.
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/me/trans.ml6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/boot/me/trans.ml b/src/boot/me/trans.ml
index 182f4f5e8f0..229395c23fa 100644
--- a/src/boot/me/trans.ml
+++ b/src/boot/me/trans.ml
@@ -2658,6 +2658,7 @@ let trans_visitor
       (slot:Ast.slot)
       (curr_iso:Ast.ty_iso option)
       : unit =
+    let _ = note_gc_step slot "severing" in
     let ty = slot_ty slot in
       match slot_mem_ctrl slot with
           MEM_gc ->
@@ -2665,15 +2666,12 @@ let trans_visitor
             let _ = check_exterior_rty cell in
             let null_jmp = null_check cell in
             let rc = exterior_rc_cell cell in
-            let _ = note_gc_step slot "severing" in
+            let _ = note_gc_step slot "severing GC slot" in
               emit (Il.binary Il.SUB rc (Il.Cell rc) one);
               mov cell zero;
               patch null_jmp
 
         | MEM_interior when type_is_structured ty ->
-            (iflog (fun _ ->
-                      annotate ("sever interior slot " ^
-                                  (Fmt.fmt_to_str Ast.fmt_slot slot))));
             let (mem, _) = need_mem_cell cell in
             let tmp = next_vreg_cell Il.voidptr_t in
             let ty = maybe_iso curr_iso ty in