]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - heap/HeapBlock.h
JavaScriptCore-7600.1.4.15.12.tar.gz
[apple/javascriptcore.git] / heap / HeapBlock.h
index 6f2a74c08d7271a8fb1fc6e04aee9086fd909230..a5b8d7e1d3d3e6546a5d5a10e0a1fe129bb04e0e 100644 (file)
@@ -35,15 +35,9 @@ enum AllocationEffort { AllocationCanFail, AllocationMustSucceed };
 
 class Region;
 
-#if COMPILER(GCC)
-#define CLASS_IF_GCC class
-#else
-#define CLASS_IF_GCC
-#endif
-
 template<typename T>
 class HeapBlock : public DoublyLinkedListNode<T> {
-    friend CLASS_IF_GCC DoublyLinkedListNode<T>;
+    friend class WTF::DoublyLinkedListNode<T>;
 public:
     static HeapBlock* destroy(HeapBlock* block) WARN_UNUSED_RETURN
     {