aboutsummaryrefslogtreecommitdiffstats
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index e229d8b356..ec7d226580 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -136,7 +136,6 @@ static void
clear_method_cache_by_id_in_class(VALUE klass, ID mid)
{
VM_ASSERT(RB_TYPE_P(klass, T_CLASS) || RB_TYPE_P(klass, T_ICLASS));
- if (!(RB_TYPE_P(klass, T_CLASS) || RB_TYPE_P(klass, T_ICLASS))) rb_bug("type confusion"); // temporary. Remove before release
if (LIKELY(RCLASS_EXT(klass)->subclasses == NULL)) {
// no subclasses