summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-22 08:01:49 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-22 08:01:49 +0000
commit4d7e8b7305c392646f68a785df8f4019ec1e69c9 (patch)
tree1d7d4ee3f50acdab1149d106402d24ac1e430e34 /vm.c
parent82e7d00344a185ea46a72ed1352d25d99056add8 (diff)
* Makefile.in: run preprocessor when making probe.h
* probes.d: define probe insn and insn__operand only when VM_COLLECT_USAGE_DETAILS is 1. [Bug #7370] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/vm.c b/vm.c
index 62a16ecfad..f4ecec4d84 100644
--- a/vm.c
+++ b/vm.c
@@ -63,10 +63,6 @@ rb_vm_control_frame_block_ptr(rb_control_frame_t *cfp)
return VM_CF_BLOCK_PTR(cfp);
}
-#ifndef VM_COLLECT_USAGE_DETAILS
-#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);