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-17 08:18:46 +0900
commitccb7a4b9f22c6ef8d51517322f82031fadf68769 (patch)
tree329e7cb0ba691f850759b4adf9a80a953eae095c /vm_insnhelper.c
parentb06d7c5521bd55d82eef96efcc2c7df1c29a3e5d (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