summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-15 10:00:12 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-16 18:24:02 +0900
commit19cabe8b09d92d033c244f32ff622b8e513375f1 (patch)
treee80e3fdc8d51a752fefe90aed22247aa62a7e58d /vm_insnhelper.c
parent84160dc29bf156aa7290236dcf42a8f601129cac (diff)
Replaced accessors of `Struct` with `invokebuiltin`
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 611739e957..8f1b6e7307 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -3621,20 +3621,6 @@ vm_once_clear(VALUE data)
return Qnil;
}
-rb_control_frame_t *
-FUNC_FASTCALL(rb_vm_opt_struct_aref)(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp)
-{
- TOPN(0) = rb_struct_aref(GET_SELF(), TOPN(0));
- return reg_cfp;
-}
-
-rb_control_frame_t *
-FUNC_FASTCALL(rb_vm_opt_struct_aset)(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp)
-{
- rb_struct_aset(GET_SELF(), TOPN(0), TOPN(1));
- return reg_cfp;
-}
-
/* defined insn */
static enum defined_type