Reviewed by John.
[WebKit-https.git] / JavaScriptCore / kjs / collector.cpp
index 2c7113ebe4c3ca914132f289825db2af3819480a..5b89fe052dac4eedf3ef0790c8a69466c109e8cd 100644 (file)
 
 #include "value.h"
 #include "internal.h"
+#include "list.h"
 
 #if APPLE_CHANGES
 #include <CoreFoundation/CoreFoundation.h>
 #include <cxxabi.h>
-#endif
-
-#include <collector.h>
-#include <value.h>
-#include <internal.h>
-
-#if APPLE_CHANGES
 #include <pthread.h>
 #include <mach/mach_port.h>
 #include <mach/task.h>
@@ -372,6 +366,7 @@ bool Collector::collect()
 
   markStackObjectsConservatively();
   markProtectedObjects();
+  List::markProtectedLists();
 #endif
 
 #if TEST_CONSERVATIVE_GC