diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-16 09:15:26 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-16 09:15:26 +0000 |
commit | ccc388d806b50999d1780b3aa7bce521644b8bf9 (patch) | |
tree | 7e715e9ae3e4e7a883ed193471a06d06832b9b81 /vm_core.h | |
parent | 3261cfd88172a0ab86dcdffd4a8b0b5604970146 (diff) | |
download | ruby-ccc388d806b50999d1780b3aa7bce521644b8bf9.tar.gz |
use rb_iseq_check() for USE_LAZY_LOAD, too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1334,7 +1334,7 @@ static inline const rb_iseq_t * vm_block_iseq(const struct rb_block *block) { switch (vm_block_type(block)) { - case block_type_iseq: return block->as.captured.code.iseq; + case block_type_iseq: return rb_iseq_check(block->as.captured.code.iseq); case block_type_proc: return vm_proc_iseq(block->as.proc); case block_type_ifunc: case block_type_symbol: return NULL; |