From 26d86e101c5dfb371bd222bffb7ed8559ba1dba4 Mon Sep 17 00:00:00 2001 From: theraven Date: Thu, 15 Sep 2011 18:43:27 +0000 Subject: [PATCH] Inherit +initialize methods. --- dtable.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dtable.c b/dtable.c index ff14f14..ddf736e 100644 --- a/dtable.c +++ b/dtable.c @@ -695,7 +695,7 @@ PRIVATE void objc_send_initialize(id object) // If there's no initialize method, then don't bother installing and // removing the initialize dtable, just install both dtables correctly now - if (0 == initializeSlot || initializeSlot->owner != meta) + if (0 == initializeSlot) { meta->dtable = dtable; class->dtable = class_dtable; @@ -729,5 +729,4 @@ PRIVATE void objc_send_initialize(id object) // safe. We only need the lock when we remove the cached version. meta->dtable = dtable; class->dtable = class_dtable; - }