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 c8fa955adc
commit e54b6530d8
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);