Bug 897718 - Remove unused JSAPI method JS_CallGenericTracer; r=jonco

--HG--
extra : rebase_source : 42641b92f4228a6cbccc9c7c6d16333308748a80
This commit is contained in:
Terrence Cole 2013-07-24 15:33:08 -07:00
parent 4abfefeee1
commit 0697640a71
2 changed files with 0 additions and 13 deletions

View File

@ -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)
{

View File

@ -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)