ext/ruby_prof/rp_method.c in ruby-prof-0.13.1 vs ext/ruby_prof/rp_method.c in ruby-prof-0.14.0

- old
+ new

@@ -35,19 +35,10 @@ else if (BUILTIN_TYPE(attached) == T_OBJECT) { /* Make sure to get the super class so that we don't mistakenly grab a T_ICLASS which would lead to unknown method errors. */ -#ifdef HAVE_RB_CLASS_SUPERCLASS - // 1.9.3 VALUE super = rb_class_superclass(klass); -#else -# ifdef RCLASS_SUPER - VALUE super = rb_class_real(RCLASS_SUPER(klass)); -# else - VALUE super = rb_class_real(RCLASS(klass)->super); -# endif -#endif result = rb_str_new2("<Object::"); rb_str_append(result, rb_inspect(super)); rb_str_cat2(result, ">"); }