Made getStaticSlot() static, to remove warning.

git-svn-id: svn://10.0.0.236/trunk@82808 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
beard%netscape.com 2000-11-21 00:15:39 +00:00
parent 5fad5fc477
commit d35408a044
2 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ TypedRegister ICodeGenerator::propertyXcr(TypedRegister base, const StringAtom &
}
const JSSlot& getStaticSlot(JSClass *&c, const String &name)
static const JSSlot& getStaticSlot(JSClass *&c, const String &name)
{
if (c->hasStatic(name))
return c->getStatic(name);

View File

@ -323,7 +323,7 @@ TypedRegister ICodeGenerator::propertyXcr(TypedRegister base, const StringAtom &
}
const JSSlot& getStaticSlot(JSClass *&c, const String &name)
static const JSSlot& getStaticSlot(JSClass *&c, const String &name)
{
if (c->hasStatic(name))
return c->getStatic(name);