export replenishAndFreeLater as a JS_FRIEND_API to fix build break (r=me).

This commit is contained in:
Andreas Gal 2010-04-28 17:17:34 -07:00
parent 2173a6b94c
commit 6e29637654
2 changed files with 3 additions and 2 deletions

View File

@ -2881,7 +2881,7 @@ SweepDoubles(JSRuntime *rt)
namespace js {
void
JS_FRIEND_API(void)
BackgroundSweepTask::replenishAndFreeLater(void *ptr)
{
JS_ASSERT(freeCursor == freeCursorEnd);

View File

@ -383,7 +383,8 @@ class BackgroundSweepTask : public JSBackgroundTask {
void **freeCursor;
void **freeCursorEnd;
void replenishAndFreeLater(void *ptr);
JS_FRIEND_API(void)
replenishAndFreeLater(void *ptr);
static void freeElementsAndArray(void **array, void **end) {
JS_ASSERT(array <= end);