diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-10 23:25:30 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-10 23:25:30 +0000 |
commit | 85647d9f2b4b2da17827cc1d613f425748a39b3f (patch) | |
tree | 5533f43c9957655f62e7be4cc2c5f1bb4c6ed75e /vm_insnhelper.c | |
parent | 62a81ad98c2421077acd637c11e06022e19a4977 (diff) |
* vm_core.h: define VM_ASSERT() for assertion
enabled only when (VM_CHECK_MODE > 0).
* vm_insnhelper.c: move definition VM_CHECK_MODE
from vm_insnhelper.c to vm_core.h.
* vm.c: remove <assert.h>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 8b28471e62..926f342e4c 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -16,14 +16,6 @@ #include "probes.h" #include "probes_helper.h" -/* - * Enable check mode. - * 1: enable local assertions. - */ -#ifndef VM_CHECK_MODE -#define VM_CHECK_MODE 0 -#endif - /* control stack frame */ #ifndef INLINE |