summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index d99379daa1..d36c92fbf9 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -371,7 +371,10 @@ struct rb_iseq_constant_body {
rb_iseq_location_t location;
/* insn info, must be freed */
- const struct iseq_insn_info_entry *insns_info;
+ struct iseq_insn_info {
+ const struct iseq_insn_info_entry *body;
+ unsigned int size;
+ } insns_info;
const ID *local_table; /* must free */
@@ -396,7 +399,6 @@ struct rb_iseq_constant_body {
unsigned int is_size;
unsigned int ci_size;
unsigned int ci_kw_size;
- unsigned int insns_info_size;
unsigned int stack_max; /* for stack overflow check */
};