Tidying optimisation stuff.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7938 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 2000-10-31 11:05:23 +00:00
parent 3f7fe730db
commit f4817879df
19 changed files with 165 additions and 139 deletions

View file

@ -33,6 +33,7 @@
#include <Foundation/NSString.h>
#include <Foundation/NSPortCoder.h>
#include <Foundation/NSDebug.h>
#include <Foundation/NSObjCRuntime.h>
#define GSI_MAP_HAS_VALUE 0
#define GSI_MAP_KTYPES GSUNION_OBJ
@ -249,7 +250,7 @@ static Class mutableSetClass;
return NO;
// Loop for all members in otherSet
c = fastClass(otherSet);
c = GSObjCClassOfObject(otherSet);
if (c == setClass || c == mutableSetClass)
{
GSIMapNode node = ((NSGSet*)otherSet)->map.firstNode;
@ -319,7 +320,7 @@ static Class mutableSetClass;
}
else
{
Class c = fastClass(other);
Class c = GSObjCClassOfObject(other);
if (c == setClass || c == mutableSetClass)
{