Bug 696803 - Remove unused PushMarkStack function. r=billm

This commit is contained in:
Jan de Mooij 2011-10-26 11:48:36 +02:00
parent 00bb6071f9
commit 1d6e3ef66d

View File

@ -98,9 +98,6 @@ PushMarkStack(GCMarker *gcmarker, JSScript *thing);
static inline void
PushMarkStack(GCMarker *gcmarker, const Shape *thing);
static inline void
PushMarkStack(GCMarker *gcmarker, JSShortString *thing);
static inline void
PushMarkStack(GCMarker *gcmarker, JSString *thing);
@ -287,15 +284,6 @@ PushMarkStack(GCMarker *gcmarker, types::TypeObject *thing)
gcmarker->pushType(thing);
}
void
PushMarkStack(GCMarker *gcmarker, JSShortString *thing)
{
JS_OPT_ASSERT_IF(gcmarker->context->runtime->gcCurrentCompartment,
thing->compartment() == gcmarker->context->runtime->gcCurrentCompartment);
(void) thing->markIfUnmarked(gcmarker->getMarkColor());
}
void
PushMarkStack(GCMarker *gcmarker, JSScript *thing)
{