src/3rdparty/webkit/JavaScriptCore/runtime/Collector.h
changeset 22 79de32ba3296
parent 0 1918ee327afb
child 30 5dc02b23752f
--- a/src/3rdparty/webkit/JavaScriptCore/runtime/Collector.h	Mon May 03 13:17:34 2010 +0300
+++ b/src/3rdparty/webkit/JavaScriptCore/runtime/Collector.h	Fri May 14 16:40:13 2010 +0300
@@ -35,6 +35,10 @@
 #include <pthread.h>
 #endif
 
+#if PLATFORM(SYMBIAN)
+#include <wtf/symbian/BlockAllocatorSymbian.h>
+#endif
+
 #define ASSERT_CLASS_FITS_IN_CELL(class) COMPILE_ASSERT(sizeof(class) <= CELL_SIZE, class_fits_in_cell)
 
 namespace JSC {
@@ -157,6 +161,11 @@
         pthread_key_t m_currentThreadRegistrar;
 #endif
 
+#if PLATFORM(SYMBIAN)
+        // Allocates collector blocks with correct alignment
+        WTF::AlignedBlockAllocator m_blockallocator; 
+#endif
+        
         JSGlobalData* m_globalData;
     };