From 14428f09b1c75071b7bcd86fb6c7a92790301d17 Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 24 Jul 2015 21:01:09 +0000 Subject: * vm_core.h: constify rb_iseq_constant_body::line_info_table. * iseq.c: catch up this fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index 3345607856..e173fabb8e 100644 --- a/vm_core.h +++ b/vm_core.h @@ -330,7 +330,7 @@ struct rb_iseq_constant_body { rb_iseq_location_t location; /* insn info, must be freed */ - struct iseq_line_info_entry *line_info_table; + const struct iseq_line_info_entry *line_info_table; const ID *local_table; /* must free */ -- cgit v1.2.3