mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 927655: Make SpiderMonkey's GDB pretty-printer tests call JS_Init, as required. DONTBUILD r=sfink
This commit is contained in:
parent
05461608b2
commit
319c60c599
@ -59,6 +59,7 @@ GDBFragment *GDBFragment::allFragments = nullptr;
|
||||
int
|
||||
main (int argc, const char **argv)
|
||||
{
|
||||
if (!JS_Init()) return 1;
|
||||
JSRuntime *runtime = checkPtr(JS_NewRuntime(1024 * 1024, JS_USE_HELPER_THREADS));
|
||||
JS_SetGCParameter(runtime, JSGC_MAX_BYTES, 0xffffffff);
|
||||
JS_SetNativeStackQuota(runtime, 5000000);
|
||||
|
Loading…
Reference in New Issue
Block a user