summaryrefslogtreecommitdiff
path: root/iseq.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
commit1c5ae5a16343fe8e32876ad38fd4093962dd02c2 (patch)
tree722e7886ad099c5a6adffbb576fcd8960a285703 /iseq.h
parent3b7373fd00a0ba456498a7b7d6de2a47c96434a2 (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 'iseq.h')
-rw-r--r--iseq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/iseq.h b/iseq.h
index b75cb04..a4a8c69 100644
--- a/iseq.h
+++ b/iseq.h
@@ -140,9 +140,9 @@ struct rb_compile_option_struct {
int debug_level;
};
-struct iseq_line_info_entry {
+struct iseq_insn_info_entry {
unsigned int position;
- unsigned int line_no;
+ int line_no;
};
struct iseq_catch_table_entry {