author | Jan de Mooij <jandemooij@gmail.com> |
Wed, 26 Oct 2011 11:48:36 +0200 | |
changeset 79237 | 8fb12d907202848a06d5bd312e0914a4d13b660d |
parent 79236 | ebd6501de8832c3fc3762f23cbad042d1bddc50f |
child 79238 | 6780aa86cf871ce4568d78d5f27c795e0a95ad2a |
push id | 21380 |
push user | bmo@edmorley.co.uk |
push date | Wed, 26 Oct 2011 23:31:27 +0000 |
treeherder | autoland@16a8d2ab5240 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | billm |
bugs | 696803 |
milestone | 10.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/js/src/jsgcmark.cpp +++ b/js/src/jsgcmark.cpp @@ -94,19 +94,16 @@ PushMarkStack(GCMarker *gcmarker, JSFunc static inline void 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); static inline void PushMarkStack(GCMarker *gcmarker, types::TypeObject *thing); template<typename T> static inline void CheckMarkedThing(JSTracer *trc, T *thing) @@ -283,25 +280,16 @@ PushMarkStack(GCMarker *gcmarker, types: JS_ASSERT_IF(gcmarker->context->runtime->gcCurrentCompartment, thing->compartment() == gcmarker->context->runtime->gcCurrentCompartment); if (thing->markIfUnmarked(gcmarker->getMarkColor())) 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) { JS_ASSERT_IF(gcmarker->context->runtime->gcCurrentCompartment, thing->compartment() == gcmarker->context->runtime->gcCurrentCompartment); /* * We mark scripts directly rather than pushing on the stack as they can * refer to other scripts only indirectly (like via nested functions) and