summaryrefslogtreecommitdiff
path: root/vm_exec.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-03 11:38:43 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-03 11:38:43 +0000
commit9975712793a8289e229d7f9fe23c8df77e1005ae (patch)
tree44ae05cfa6f2888c6dc89a849f82d7fa29587706 /vm_exec.c
parent5c582807731b675012647e0f7d9ad8bae937053b (diff)
* vm_exec.c: check VM_COLLECT_USAGE_DETAILS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_exec.c')
-rw-r--r--vm_exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_exec.c b/vm_exec.c
index 45c95c1733..489181cdff 100644
--- a/vm_exec.c
+++ b/vm_exec.c
@@ -11,7 +11,9 @@
#include <math.h>
+#if VM_COLLECT_USAGE_DETAILS
static void vm_analysis_insn(int insn);
+#endif
#if VMDEBUG > 0
#define DECL_SC_REG(type, r, reg) register type reg_##r