diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-09 06:57:24 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-09 06:57:24 +0000 |
commit | 1c5ae5a16343fe8e32876ad38fd4093962dd02c2 (patch) | |
tree | 722e7886ad099c5a6adffbb576fcd8960a285703 /vm_core.h | |
parent | 3b7373fd00a0ba456498a7b7d6de2a47c96434a2 (diff) |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ }; |