Permalink
Browse files

disable rb_method_node() for now because it's wrongly implemented

  • Loading branch information...
1 parent a291bc2 commit 3c2c617629fff4dc8984b2d5d1993ce5b626e0ea @lrz lrz committed Mar 20, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 vm_method.c
View
@@ -82,6 +82,8 @@ rb_get_method_body(VALUE klass, ID id, ID *idp)
NODE *
rb_method_node(VALUE klass, ID id)
{
+ return NULL;
+#if 0 // TODO
NODE *node = rb_objc_method_node(klass, id, NULL, NULL);
if (node == NULL && id != ID_ALLOCATOR) {
const char *id_str = rb_id2name(id);
@@ -106,6 +108,7 @@ rb_method_node(VALUE klass, ID id)
}
}
return node;
+#endif
}
static void

0 comments on commit 3c2c617

Please sign in to comment.