зеркало из https://github.com/mozilla/gecko-dev.git
Bug 720505 - Remove MarkRuntime from jsapi.h exports (r=Ms2ger)
This commit is contained in:
Родитель
587594165b
Коммит
7b51fae2d8
|
@ -818,10 +818,6 @@ class JS_PUBLIC_API(AutoCheckRequestDepth)
|
|||
|
||||
#endif
|
||||
|
||||
extern void
|
||||
MarkRuntime(JSTracer *trc);
|
||||
|
||||
|
||||
class JS_PUBLIC_API(AutoGCRooter) {
|
||||
public:
|
||||
AutoGCRooter(JSContext *cx, ptrdiff_t tag);
|
||||
|
@ -919,7 +915,6 @@ class AutoValueRooter : private AutoGCRooter
|
|||
}
|
||||
|
||||
friend void AutoGCRooter::trace(JSTracer *trc);
|
||||
friend void MarkRuntime(JSTracer *trc);
|
||||
|
||||
private:
|
||||
Value val;
|
||||
|
@ -948,7 +943,6 @@ class AutoObjectRooter : private AutoGCRooter {
|
|||
}
|
||||
|
||||
friend void AutoGCRooter::trace(JSTracer *trc);
|
||||
friend void MarkRuntime(JSTracer *trc);
|
||||
|
||||
private:
|
||||
JSObject *obj;
|
||||
|
@ -2022,7 +2016,6 @@ class AutoIdRooter : private AutoGCRooter
|
|||
}
|
||||
|
||||
friend void AutoGCRooter::trace(JSTracer *trc);
|
||||
friend void MarkRuntime(JSTracer *trc);
|
||||
|
||||
private:
|
||||
jsid id_;
|
||||
|
|
|
@ -1318,7 +1318,6 @@ class AutoXMLRooter : private AutoGCRooter {
|
|||
}
|
||||
|
||||
friend void AutoGCRooter::trace(JSTracer *trc);
|
||||
friend void JS::MarkRuntime(JSTracer *trc);
|
||||
|
||||
private:
|
||||
JSXML * const xml;
|
||||
|
|
|
@ -2094,11 +2094,7 @@ MarkWeakReferences(GCMarker *gcmarker)
|
|||
JS_ASSERT(gcmarker->isMarkStackEmpty());
|
||||
}
|
||||
|
||||
} // namespace js
|
||||
|
||||
namespace JS {
|
||||
|
||||
void
|
||||
static void
|
||||
MarkRuntime(JSTracer *trc)
|
||||
{
|
||||
JSRuntime *rt = trc->runtime;
|
||||
|
@ -2153,10 +2149,6 @@ MarkRuntime(JSTracer *trc)
|
|||
}
|
||||
}
|
||||
|
||||
} // namespace JS
|
||||
|
||||
namespace js {
|
||||
|
||||
void
|
||||
TriggerGC(JSRuntime *rt, gcstats::Reason reason)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче