From deedd77e3514894c0236d8cf353c71507354556b Mon Sep 17 00:00:00 2001 From: Igor Bukanov Date: Tue, 24 Jun 2008 14:17:03 +0200 Subject: [PATCH] fixing initialization issue with JSGCFreeListSet --HG-- branch : scalable_gc_free_lists_378918 --- js/src/jsgc.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp index d7cb78fbac7b..192c933b29a9 100644 --- a/js/src/jsgc.cpp +++ b/js/src/jsgc.cpp @@ -1684,7 +1684,9 @@ unsigned gchpos = 0; #ifdef JS_THREADSAFE -const JSGCFreeListSet js_GCEmptyFreeListSet; +const JSGCFreeListSet js_GCEmptyFreeListSet = { + { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }, NULL +}; static void TrimGCFreeListsPool(JSRuntime *rt, uintN keepCount)