Made getStaticSlot() static, to remove warning.

This commit is contained in:
beard%netscape.com 2000-11-21 00:15:39 +00:00
parent 9c337d0b4d
commit 73fda2e03f
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);