From fde3d065e65d804ce5d8fc982aafd4c2d94d4388 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Fri, 26 Jan 2024 12:19:54 -0500 Subject: [PATCH] Add removable and refcnt output to labels Co-Authored-By: Kevin Newton --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.c b/compile.c index f1deca3c29..3221c6d981 100644 --- a/compile.c +++ b/compile.c @@ -10859,7 +10859,7 @@ dump_disasm_list_with_cursor(const LINK_ELEMENT *link, const LINK_ELEMENT *curr, case ISEQ_ELEMENT_LABEL: { lobj = (LABEL *)link; - printf(LABEL_FORMAT" [sp: %d]%s\n", lobj->label_no, lobj->sp, + printf(LABEL_FORMAT" [sp: %d, unremovable: %d, refcnt: %d]%s\n", lobj->label_no, lobj->sp, lobj->unremovable, lobj->refcnt, dest == lobj ? " <---" : ""); break; }