ruby-changes:25740
From: kosaki <ko1@a...>
Date: Thu, 22 Nov 2012 16:23:50 +0900 (JST)
Subject: [ruby-changes:25740] kosaki:r37797 (trunk): * vm.c: Don't define vm_collect_usage_operand() and
kosaki 2012-11-22 16:23:40 +0900 (Thu, 22 Nov 2012) New Revision: 37797 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37797 Log: * vm.c: Don't define vm_collect_usage_operand() and static void vm_collect_usage_insn() when disabling VM_COLLECT_USAGE_DETAILS. (refix r37796) Modified files: trunk/ChangeLog trunk/vm.c Index: ChangeLog =================================================================== --- ChangeLog (revision 37796) +++ ChangeLog (revision 37797) @@ -1,3 +1,9 @@ +Thu Nov 22 16:20:49 2012 KOSAKI Motohiro <kosaki.motohiro@g...> + + * vm.c: Don't define vm_collect_usage_operand() and + static void vm_collect_usage_insn() when disabling + VM_COLLECT_USAGE_DETAILS. (refix r37796) + Thu Nov 22 15:26:02 2012 NARUSE, Yui <naruse@r...> * vm_insnhelper.h: partly revert r37631 (DTrace support). Index: vm.c =================================================================== --- vm.c (revision 37796) +++ vm.c (revision 37797) @@ -67,10 +67,9 @@ #define VM_COLLECT_USAGE_DETAILS 0 #endif +#if VM_COLLECT_USAGE_DETAILS static void vm_collect_usage_operand(int insn, int n, VALUE op); static void vm_collect_usage_insn(int insn); - -#if VM_COLLECT_USAGE_DETAILS static void vm_collect_usage_register(int reg, int isset); #endif @@ -2492,6 +2491,7 @@ #endif +#if VM_COLLECT_USAGE_DETAILS /* @param insn instruction number */ static void vm_collect_usage_insn(int insn) @@ -2522,7 +2522,6 @@ (*ruby_vm_collect_usage_func_operand)(insn, n, op); } -#if VM_COLLECT_USAGE_DETAILS /* @param reg register id. see code of vm_analysis_register() */ /* @param iseset 0: read, 1: write */ static void -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/