aboutsummaryrefslogtreecommitdiffstats
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/vm_method.c b/vm_method.c
index 2d3e78c303..90d543793a 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -83,9 +83,7 @@ rb_class_clear_method_cache(VALUE klass, VALUE arg)
void
rb_clear_cache(void)
{
- rb_warning("rb_clear_cache() is deprecated.");
- INC_GLOBAL_METHOD_STATE();
- INC_GLOBAL_CONSTANT_STATE();
+ ONLY_FOR_INTERNAL_USE("rb_clear_cache()");
}
void