aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-09 06:57:24 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-09 06:57:24 +0000
commite63936421b5ca34881f07bbca5208cb6064cd8a1 (patch)
tree722e7886ad099c5a6adffbb576fcd8960a285703 /vm_core.h
parentc4605b52264bfae62f6738b2f5e6ef503b9a2d9c (diff)
downloadruby-e63936421b5ca34881f07bbca5208cb6064cd8a1.tar.gz
insn_info/insns_info
* iseq.h (iseq_line_info_entry): rename to iseq_insn_info_entry. * vm_core.h (rb_iseq_constant_body): rename field name line_info_table to insns_info and also from line_info_size to insns_info_size. * compile.c (INSN): add struct insn_info to contain per insn information. * compile.c (add_insn_info): added to add new insn_info entry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index 2c8d6cf6c2..a73db7ab43 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -383,7 +383,7 @@ struct rb_iseq_constant_body {
rb_iseq_location_t location;
/* insn info, must be freed */
- const struct iseq_line_info_entry *line_info_table;
+ const struct iseq_insn_info_entry *insns_info;
const ID *local_table; /* must free */
@@ -408,7 +408,7 @@ struct rb_iseq_constant_body {
unsigned int is_size;
unsigned int ci_size;
unsigned int ci_kw_size;
- unsigned int line_info_size;
+ unsigned int insns_info_size;
unsigned int stack_max; /* for stack overflow check */
};