aboutsummaryrefslogtreecommitdiffstats
path: root/insns.def
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-24 01:06:59 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-12 17:24:48 +0900
commitfb6a489af2765a3b56e301adf0019af6bbad6156 (patch)
treec024078f3a408d33e41aec446e17f5142907eb87 /insns.def
parentb41a19f92fdd9c8567e0650ceebb72386a96e395 (diff)
downloadruby-fb6a489af2765a3b56e301adf0019af6bbad6156.tar.gz
Revert "Method reference operator"
This reverts commit 67c574736912003c377218153f9d3b9c0c96a17b. [Feature #16275]
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def11
1 files changed, 0 insertions, 11 deletions
diff --git a/insns.def b/insns.def
index 1333c09869..df505808ce 100644
--- a/insns.def
+++ b/insns.def
@@ -719,17 +719,6 @@ checktype
ret = (TYPE(val) == (int)type) ? Qtrue : Qfalse;
}
-/* get frozen method reference. */
-DEFINE_INSN
-methodref
-(ID id)
-(VALUE val)
-(VALUE ret)
-{
- ret = rb_obj_method(val, ID2SYM(id));
- RB_OBJ_FREEZE_RAW(ret);
-}
-
/**********************************************************/
/* deal with control flow 1: class/module */
/**********************************************************/