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:
parent
5fad5fc477
commit
d35408a044
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user