summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index d1f71c4061..2f1ca25ea8 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -167,7 +167,15 @@ typedef struct rb_call_info_struct {
union {
int opt_pc; /* used by iseq */
int index; /* used by ivar */
- int missing_reason; /* used by method_missing */
+ enum missing_reason {
+ MISSING_NOENTRY = 0x00,
+ MISSING_PRIVATE = 0x01,
+ MISSING_PROTECTED = 0x02,
+ MISSING_VCALL = 0x04,
+ MISSING_SUPER = 0x08,
+ MISSING_MISSING = 0x10,
+ MISSING_NONE = 0x20
+ } missing_reason; /* used by method_missing */
int inc_sp; /* used by cfunc */
} aux;