summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-21 02:20:37 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-21 02:20:37 (GMT)
commitc700bb1a2b482e0ba21c7e41143c7cdd80fd181f (patch)
tree75117a70af9dda5e693e133f5fc5d635a4b04b96 /iseq.c
parentb4b3de3e7ce9ecfdaf1df75e94dd8e4f6342e34e (diff)
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
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iseq.c b/iseq.c
index 2fea057..fcf74fc 100644
--- a/iseq.c
+++ b/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++) {