mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vm.c: remove extra ifdef
* vm.c (rb_execution_context_mark): VM_ASSERT works only if VM_CHECK_MODE > 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8a83cd100b
commit
840bfeac81
1 changed files with 0 additions and 2 deletions
2
vm.c
2
vm.c
|
@ -2355,9 +2355,7 @@ rb_execution_context_mark(const rb_execution_context_t *ec)
|
|||
|
||||
while (cfp != limit_cfp) {
|
||||
const VALUE *ep = cfp->ep;
|
||||
#if VM_CHECK_MODE > 0
|
||||
VM_ASSERT(!!VM_ENV_FLAGS(ep, VM_ENV_FLAG_ESCAPED) == vm_ep_in_heap_p_(ec, ep));
|
||||
#endif
|
||||
rb_gc_mark(cfp->self);
|
||||
rb_gc_mark((VALUE)cfp->iseq);
|
||||
rb_gc_mark((VALUE)cfp->block_code);
|
||||
|
|
Loading…
Reference in a new issue