From c700bb1a2b482e0ba21c7e41143c7cdd80fd181f Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 21 Mar 2018 02:20:37 +0000 Subject: 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 --- iseq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iseq.c') diff --git a/iseq.c b/iseq.c index 2fea057ece..fcf74fc017 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++) { -- cgit v1.2.3