mirror of
https://github.com/gnustep/libs-performance.git
synced 2025-02-21 02:41:01 +00:00
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:
parent
4cb3f77efb
commit
32a7aef7e9
1 changed files with 4 additions and 0 deletions
|
@ -602,7 +602,11 @@ static void removeItem(GSCacheItem *item, GSCacheItem **first)
|
||||||
- (unsigned) sizeInBytes: (NSMutableSet*)exclude
|
- (unsigned) sizeInBytes: (NSMutableSet*)exclude
|
||||||
{
|
{
|
||||||
if ([exclude member: self] != nil) return 0;
|
if ([exclude member: self] != nil) return 0;
|
||||||
|
#if 0
|
||||||
return isa->instance_size;
|
return isa->instance_size;
|
||||||
|
#else
|
||||||
|
return 16; // A guess ... but runtime portable
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue