Avoid runtime specific code

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@24688 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2007-02-24 11:06:42 +00:00
parent 4cb3f77efb
commit 32a7aef7e9

View file

@ -602,7 +602,11 @@ static void removeItem(GSCacheItem *item, GSCacheItem **first)
- (unsigned) sizeInBytes: (NSMutableSet*)exclude
{
if ([exclude member: self] != nil) return 0;
#if 0
return isa->instance_size;
#else
return 16; // A guess ... but runtime portable
#endif
}
@end