aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index 64896e0ff9..d9cc93f9e6 100644
--- a/internal.h
+++ b/internal.h
@@ -535,6 +535,7 @@ enum imemo_type {
imemo_throw_data = 3,
imemo_ifunc = 4,
imemo_memo = 5,
+ imemo_ment = 6,
imemo_mask = 0x07
};
@@ -558,7 +559,7 @@ typedef struct rb_cref_struct {
struct vm_svar {
VALUE flags;
- const rb_cref_t * const cref;
+ const VALUE cref_or_me;
const VALUE lastline;
const VALUE backref;
const VALUE others;
@@ -615,6 +616,8 @@ struct MEMO {
#define NEW_MEMO_FOR(type, value) \
((value) = rb_ary_tmp_new_fill(type_roomof(type, VALUE)), MEMO_FOR(type, value))
+/* ment is in method.h */
+
/* global variable */
struct rb_global_entry {