mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Made getStaticSlot() static, to remove warning.
This commit is contained in:
parent
9c337d0b4d
commit
73fda2e03f
@ -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…
Reference in New Issue
Block a user