<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -330,7 +330,9 @@ VALUE rb_obj_is_instance_of(VALUE obj, VALUE klass) {
 }
 
 VALUE rb_obj_is_kind_of(VALUE obj, VALUE klass) {
-  return rb_funcall(obj, rb_intern(&quot;kind_of?&quot;), 1, klass);
+  CTX;
+  //HACK ? Calling rb_funcall() causes segmentation fault
+  return object_kind_of_p(ctx-&gt;state, HNDL(obj), HNDL(klass)) ? Qtrue : Qfalse;
 }
 
 int rb_respond_to(VALUE obj, ID sym) {</diff>
      <filename>shotgun/lib/subtend/ruby.c</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,3 @@
-fails:SubtendObject rb_is_kind_of should return true if an object is an instance or descendent
 fails:SubtendObject rb_to_id should return a symbol representation of the object
 fails:SubtendObject rb_check_array_type should try to coerce to array, otherwise return nil
 fails:SubtendObject rb_check_convert_type should try to coerce to a type, otherwise return nil</diff>
      <filename>spec/tags/subtend/object_tags.txt</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>508da6b6261844b63f5ede00150a03bc1a2f006c</id>
    </parent>
  </parents>
  <author>
    <name>Cezar Sa Espinola</name>
    <email>cezarsa@gmail.com</email>
  </author>
  <url>http://github.com/evanphx/rubinius/commit/d48422eb53a4f49cd9bbf3619c4622bed8e7741c</url>
  <id>d48422eb53a4f49cd9bbf3619c4622bed8e7741c</id>
  <committed-date>2008-05-27T14:39:11-07:00</committed-date>
  <authored-date>2008-05-27T14:23:59-07:00</authored-date>
  <message>Fixing rb_obj_is_kind_of() in subtend, maybe a little hacky.</message>
  <tree>05190ff3da94dad9482f5c339d0f30c42c97dd42</tree>
  <committer>
    <name>Cezar Sa Espinola</name>
    <email>cezarsa@gmail.com</email>
  </committer>
</commit>
