mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 886205 (part 9) - Fix some "used but never defined" warnings in --enable-gcgenerational builds. r=terrence.
--HG-- extra : rebase_source : aa1a2797171cc555ad90cb4740495a02dacbc394
This commit is contained in:
parent
43e84f04e6
commit
53f985caf8
@ -531,14 +531,6 @@ IonCode::writeBarrierPre(IonCode *code)
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
IonCode::writeBarrierPost(IonCode *code, void *addr)
|
||||
{
|
||||
#ifdef JSGC_GENERATIONAL
|
||||
// Nothing to do.
|
||||
#endif
|
||||
}
|
||||
|
||||
IonScript::IonScript()
|
||||
: method_(NULL),
|
||||
deoptTable_(NULL),
|
||||
|
@ -136,7 +136,7 @@ class IonCode : public gc::Cell
|
||||
JS::Zone *zone() const { return tenuredZone(); }
|
||||
static void readBarrier(IonCode *code);
|
||||
static void writeBarrierPre(IonCode *code);
|
||||
static void writeBarrierPost(IonCode *code, void *addr);
|
||||
static void writeBarrierPost(IonCode *code, void *addr) {}
|
||||
static inline ThingRootKind rootKind() { return THING_ROOT_ION_CODE; }
|
||||
};
|
||||
|
||||
|
@ -914,7 +914,7 @@ struct TypeNewScript
|
||||
Initializer *initializerList;
|
||||
|
||||
static inline void writeBarrierPre(TypeNewScript *newScript);
|
||||
static inline void writeBarrierPost(TypeNewScript *newScript, void *addr);
|
||||
static void writeBarrierPost(TypeNewScript *newScript, void *addr) {}
|
||||
};
|
||||
|
||||
/*
|
||||
@ -1100,7 +1100,7 @@ struct TypeObject : gc::Cell
|
||||
JS::Zone *zone() const { return tenuredZone(); }
|
||||
|
||||
static inline void writeBarrierPre(TypeObject *type);
|
||||
static inline void writeBarrierPost(TypeObject *type, void *addr);
|
||||
static void writeBarrierPost(TypeObject *type, void *addr) {}
|
||||
static inline void readBarrier(TypeObject *type);
|
||||
|
||||
static inline ThingRootKind rootKind() { return THING_ROOT_TYPE_OBJECT; }
|
||||
|
@ -1652,11 +1652,6 @@ TypeObject::writeBarrierPre(TypeObject *type)
|
||||
#endif
|
||||
}
|
||||
|
||||
inline void
|
||||
TypeObject::writeBarrierPost(TypeObject *type, void *addr)
|
||||
{
|
||||
}
|
||||
|
||||
inline void
|
||||
TypeObject::readBarrier(TypeObject *type)
|
||||
{
|
||||
@ -1685,11 +1680,6 @@ TypeNewScript::writeBarrierPre(TypeNewScript *newScript)
|
||||
#endif
|
||||
}
|
||||
|
||||
inline void
|
||||
TypeNewScript::writeBarrierPost(TypeNewScript *newScript, void *addr)
|
||||
{
|
||||
}
|
||||
|
||||
inline
|
||||
Property::Property(jsid id)
|
||||
: id(id)
|
||||
|
@ -1017,7 +1017,7 @@ class JSScript : public js::gc::Cell
|
||||
JS::Zone *zone() const { return tenuredZone(); }
|
||||
|
||||
static inline void writeBarrierPre(JSScript *script);
|
||||
static inline void writeBarrierPost(JSScript *script, void *addr);
|
||||
static void writeBarrierPost(JSScript *script, void *addr) {}
|
||||
|
||||
static inline js::ThingRootKind rootKind() { return js::THING_ROOT_SCRIPT; }
|
||||
|
||||
|
@ -147,11 +147,6 @@ JSScript::writeBarrierPre(JSScript *script)
|
||||
#endif
|
||||
}
|
||||
|
||||
inline void
|
||||
JSScript::writeBarrierPost(JSScript *script, void *addr)
|
||||
{
|
||||
}
|
||||
|
||||
/* static */ inline void
|
||||
js::LazyScript::writeBarrierPre(js::LazyScript *lazy)
|
||||
{
|
||||
|
@ -426,11 +426,6 @@ Shape::writeBarrierPre(Shape *shape)
|
||||
#endif
|
||||
}
|
||||
|
||||
inline void
|
||||
Shape::writeBarrierPost(Shape *shape, void *addr)
|
||||
{
|
||||
}
|
||||
|
||||
inline void
|
||||
Shape::readBarrier(Shape *shape)
|
||||
{
|
||||
@ -469,11 +464,6 @@ BaseShape::writeBarrierPre(BaseShape *base)
|
||||
#endif
|
||||
}
|
||||
|
||||
inline void
|
||||
BaseShape::writeBarrierPost(BaseShape *shape, void *addr)
|
||||
{
|
||||
}
|
||||
|
||||
inline void
|
||||
BaseShape::readBarrier(BaseShape *base)
|
||||
{
|
||||
|
@ -358,7 +358,7 @@ class BaseShape : public js::gc::Cell
|
||||
static inline size_t offsetOfFlags() { return offsetof(BaseShape, flags); }
|
||||
|
||||
static inline void writeBarrierPre(BaseShape *shape);
|
||||
static inline void writeBarrierPost(BaseShape *shape, void *addr);
|
||||
static void writeBarrierPost(BaseShape *shape, void *addr) {}
|
||||
static inline void readBarrier(BaseShape *shape);
|
||||
|
||||
static inline ThingRootKind rootKind() { return THING_ROOT_BASE_SHAPE; }
|
||||
@ -832,7 +832,7 @@ class Shape : public js::gc::Cell
|
||||
JS::Zone *zone() const { return tenuredZone(); }
|
||||
|
||||
static inline void writeBarrierPre(Shape *shape);
|
||||
static inline void writeBarrierPost(Shape *shape, void *addr);
|
||||
static void writeBarrierPost(Shape *shape, void *addr) {}
|
||||
|
||||
/*
|
||||
* All weak references need a read barrier for incremental GC. This getter
|
||||
|
Loading…
Reference in New Issue
Block a user