summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-24 21:01:09 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-24 21:01:09 (GMT)
commit14428f09b1c75071b7bcd86fb6c7a92790301d17 (patch)
treeccc166e8e895acaeedf0abff78e0ebe7c8dcbdf0 /vm_core.h
parentefa31acaad8663602357fb193db8dd4320fa66d5 (diff)
* 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
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 3345607..e173fab 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 */