ruby-changes:10120
From: nobu <ko1@a...>
Date: Mon, 19 Jan 2009 17:23:50 +0900 (JST)
Subject: [ruby-changes:10120] Ruby:r21664 (trunk): * vm_dump.c (vm_stack_dump_each): used only if debug mode.
nobu 2009-01-19 17:22:58 +0900 (Mon, 19 Jan 2009) New Revision: 21664 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21664 Log: * vm_dump.c (vm_stack_dump_each): used only if debug mode. Modified files: trunk/vm_dump.c Index: vm_dump.c =================================================================== --- vm_dump.c (revision 21663) +++ vm_dump.c (revision 21664) @@ -236,6 +236,7 @@ rb_vmdebug_stack_dump_raw(th, th->cfp); } +#if VMDEBUG > 2 static void vm_stack_dump_each(rb_thread_t *th, rb_control_frame_t *cfp) { @@ -322,8 +323,8 @@ rb_bug("unsupport frame type: %08lx", VM_FRAME_TYPE(cfp)); } } +#endif - void rb_vmdebug_debug_print_register(rb_thread_t *th) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/