[bmalloc] IsoHeap should have lower tier using shared IsoPage
[WebKit-https.git] / Source / bmalloc / bmalloc / IsoDeallocator.h
index 145f42b..e4f5fb5 100644 (file)
 
 #include "FixedVector.h"
 #include "IsoPage.h"
+#include "Mutex.h"
 
 namespace bmalloc {
 
-class Mutex;
-
 template<typename Config>
 class IsoDeallocator {
 public:
@@ -42,7 +41,8 @@ public:
     IsoDeallocator(Mutex& lock);
     ~IsoDeallocator();
     
-    void deallocate(void* p);
+    template<typename Type>
+    void deallocate(api::IsoHeap<Type>&, void* p);
     void scavenge();
     
 private: