Call JS_GC instead of js_GC within JS_MaybeGC. Thanks to

A. Hodgkinson <ahodgkin@acorn.co.uk> for finding this (and to chouck
for checking it in to js/ref/jsapi.c.)
This commit is contained in:
mccabe 1998-04-25 05:11:41 +00:00
parent 16ebcb630d
commit 43f5474e6a

View File

@ -814,7 +814,7 @@ JS_MaybeGC(JSContext *cx)
bytes = rt->gcBytes;
lastBytes = rt->gcLastBytes;
if (bytes > 8192 && bytes > lastBytes + lastBytes / 2)
js_GC(cx);
JS_GC(cx);
}
JS_PUBLIC_API(JSGCCallback)