summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/vm_core.h b/vm_core.h
index dfbc8c7f76..f5ddb17a47 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -140,11 +140,9 @@ struct rb_control_frame_struct;
typedef struct rb_call_info_struct {
/* fixed at compile time */
ID mid;
- VALUE flag;
- rb_iseq_t *blockiseq;
+ unsigned int flag;
int orig_argc;
-
- int argc; /* temporary for method calling */
+ rb_iseq_t *blockiseq;
/* inline cache: keys */
rb_serial_t method_state;
@@ -158,9 +156,10 @@ typedef struct rb_call_info_struct {
/* temporary values for method calling */
struct rb_block_struct *blockptr;
VALUE recv;
+ int argc;
union {
int opt_pc; /* used by iseq */
- long index; /* used by ivar */
+ int index; /* used by ivar */
int missing_reason; /* used by method_missing */
int inc_sp; /* used by cfunc */
} aux;