* src/vm/jit/show.c (new_show_method): Use class_print and
authoredwin <none@none>
Sun, 10 Sep 2006 09:11:35 +0000 (09:11 +0000)
committeredwin <none@none>
Sun, 10 Sep 2006 09:11:35 +0000 (09:11 +0000)
class_classref_print for showing the catch type.

--HG--
branch : unified_variables

src/vm/jit/show.c

index 1de3d01b41cbf544221e6f7fa67cfd00cdd5d0c3..a2d145dce591e4f379920d820fa5195f06ef9533 100644 (file)
@@ -174,9 +174,9 @@ void new_show_method(jitdata *jd, int stage)
                        printf("  (catchtype: ");
                        if (ex->catchtype.any)
                                if (IS_CLASSREF(ex->catchtype))
-                                       utf_display_printable_ascii_classname(ex->catchtype.ref->name);
+                                       class_classref_print(ex->catchtype.ref);
                                else
-                                       utf_display_printable_ascii_classname(ex->catchtype.cls->name);
+                                       class_print(ex->catchtype.ref);
                        else
                                printf("ANY");
                        printf(")\n");