diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-07-29 11:56:11 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-07-29 13:05:12 +0200 |
| commit | 7ee127d2d19927432ba0ea421294dbba304e15ff (patch) | |
| tree | c61e70c5ee3e5860f08c690f81bbb31c4ba224e7 /imemo.c | |
| parent | d4020dd5faf28486123853e7f00c36139fc07793 (diff) | |
Get rid of imemo_ast
It has been marked as obsolete for a while and I see no reason
to keep it.
Diffstat (limited to 'imemo.c')
| -rw-r--r-- | imemo.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -16,7 +16,6 @@ rb_imemo_name(enum imemo_type type) // put no default case to get a warning if an imemo type is missing switch (type) { #define IMEMO_NAME(x) case imemo_##x: return #x; - IMEMO_NAME(ast); IMEMO_NAME(callcache); IMEMO_NAME(callinfo); IMEMO_NAME(constcache); @@ -220,10 +219,6 @@ rb_imemo_memsize(VALUE obj) { size_t size = 0; switch (imemo_type(obj)) { - case imemo_ast: - rb_bug("imemo_ast is obsolete"); - - break; case imemo_callcache: break; case imemo_callinfo: @@ -336,10 +331,6 @@ void rb_imemo_mark_and_move(VALUE obj, bool reference_updating) { switch (imemo_type(obj)) { - case imemo_ast: - rb_bug("imemo_ast is obsolete"); - - break; case imemo_callcache: { /* cc is callcache. * @@ -600,10 +591,6 @@ void rb_imemo_free(VALUE obj) { switch (imemo_type(obj)) { - case imemo_ast: - rb_bug("imemo_ast is obsolete"); - - break; case imemo_callcache: RB_DEBUG_COUNTER_INC(obj_imemo_callcache); |
