mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
iseq.c: constfied validate_get_insn_info [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b4b3de3e7c
commit
c700bb1a2b
1 changed files with 2 additions and 2 deletions
4
iseq.c
4
iseq.c
|
@ -479,7 +479,7 @@ prepare_iseq_build(rb_iseq_t *iseq,
|
|||
}
|
||||
|
||||
#if VM_CHECK_MODE > 0 && VM_INSN_INFO_TABLE_IMPL > 0
|
||||
static void validate_get_insn_info(rb_iseq_t *iseq);
|
||||
static void validate_get_insn_info(const rb_iseq_t *iseq);
|
||||
#endif
|
||||
|
||||
void
|
||||
|
@ -1576,7 +1576,7 @@ get_insn_info(const rb_iseq_t *iseq, size_t pos)
|
|||
|
||||
#if VM_CHECK_MODE > 0 && VM_INSN_INFO_TABLE_IMPL > 0
|
||||
static void
|
||||
validate_get_insn_info(rb_iseq_t *iseq)
|
||||
validate_get_insn_info(const rb_iseq_t *iseq)
|
||||
{
|
||||
size_t i;
|
||||
for (i = 0; i < iseq->body->iseq_size; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue