mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
export replenishAndFreeLater as a JS_FRIEND_API to fix build break (r=me).
This commit is contained in:
parent
c8fa955adc
commit
e54b6530d8
@ -2881,7 +2881,7 @@ SweepDoubles(JSRuntime *rt)
|
||||
|
||||
namespace js {
|
||||
|
||||
void
|
||||
JS_FRIEND_API(void)
|
||||
BackgroundSweepTask::replenishAndFreeLater(void *ptr)
|
||||
{
|
||||
JS_ASSERT(freeCursor == freeCursorEnd);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user