mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 897718 - Remove unused JSAPI method JS_CallGenericTracer; r=jonco
--HG-- extra : rebase_source : 42641b92f4228a6cbccc9c7c6d16333308748a80
This commit is contained in:
parent
4abfefeee1
commit
0697640a71
@ -2400,16 +2400,6 @@ JS_CallScriptTracer(JSTracer *trc, JSScript **scriptp, const char *name)
|
||||
MarkScriptUnbarriered(trc, scriptp, name);
|
||||
}
|
||||
|
||||
JS_PUBLIC_API(void)
|
||||
JS_CallGenericTracer(JSTracer *trc, void *gcthingArg, const char *name)
|
||||
{
|
||||
void *gcthing = gcthingArg;
|
||||
JSGCTraceKind kind = gc::GetGCThingTraceKind(gcthing);
|
||||
JS_SET_TRACING_NAME(trc, name);
|
||||
MarkKind(trc, &gcthing, kind);
|
||||
JS_ASSERT(gcthing == gcthingArg);
|
||||
}
|
||||
|
||||
JS_PUBLIC_API(void)
|
||||
JS_CallHeapValueTracer(JSTracer *trc, JS::Heap<JS::Value> *valuep, const char *name)
|
||||
{
|
||||
|
@ -2583,9 +2583,6 @@ JS_CallHeapStringTracer(JSTracer *trc, JS::Heap<JSString *> *strp, const char *n
|
||||
extern JS_PUBLIC_API(void)
|
||||
JS_CallHeapScriptTracer(JSTracer *trc, JS::Heap<JSScript *> *scriptp, const char *name);
|
||||
|
||||
extern JS_PUBLIC_API(void)
|
||||
JS_CallGenericTracer(JSTracer *trc, void *gcthing, const char *name);
|
||||
|
||||
template <typename HashSetEnum>
|
||||
inline void
|
||||
JS_CallHashSetObjectTracer(JSTracer *trc, HashSetEnum &e, JSObject *const &key, const char *name)
|
||||
|
Loading…
Reference in New Issue
Block a user