summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index 939fd87d9d..dfbc8c7f76 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -212,8 +212,7 @@ struct rb_iseq_struct {
rb_iseq_location_t location;
- VALUE *iseq; /* iseq (insn number and operands) */
- VALUE *iseq_encoded; /* encoded iseq */
+ VALUE *iseq_encoded; /* encoded iseq (insn addr and operands) */
unsigned int iseq_size;
unsigned int line_info_size;
@@ -309,6 +308,10 @@ struct rb_iseq_struct {
/* used at compile time */
struct iseq_compile_data *compile_data;
+
+ /* original iseq, before encoding
+ * used for debug/dump (TODO: union with compile_data) */
+ VALUE *iseq;
};
enum ruby_special_exceptions {