+#if PLATFORM(IOS)
+ JS_EXPORT_PRIVATE virtual void didAllocate(size_t);
+ JS_EXPORT_PRIVATE virtual void willCollect();
+ JS_EXPORT_PRIVATE virtual void cancel();
+
+ JS_EXPORT_PRIVATE virtual void doWork();
+#else
+ virtual void didAllocate(size_t);
+ virtual void willCollect();
+ virtual void cancel();
+
+ virtual void doWork();
+#endif