diff options
author | John Hawthorn <john@hawthorn.email> | 2021-03-09 16:33:28 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2021-03-10 09:38:20 -0800 |
commit | 9d0ae387c86f3fc85cf00a9a4cf8c6e18b4181bf (patch) | |
tree | b6be4a37c7f82efa96557ee659147fcc5726ac77 /vm_insnhelper.c | |
parent | 4c80b9d063fe3cf3bc80b2631f4ffc3b5346e12f (diff) |
Remove DEFINED_IVAR2 from enum
This version of defined? doesn't seem to be possible to emit anymore.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4253
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 4d9e7802eb..5f8bffb380 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -3998,9 +3998,6 @@ vm_defined(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp, rb_num_t op_ expr_type = DEFINED_IVAR; } break; - case DEFINED_IVAR2: - klass = vm_get_cbase(GET_EP()); - break; case DEFINED_GVAR: if (rb_gvar_defined(SYM2ID(obj))) { expr_type = DEFINED_GVAR; |