Title: [124271] trunk/Source/_javascript_Core
- Revision
- 124271
- Author
- gga...@apple.com
- Date
- 2012-07-31 16:46:53 -0700 (Tue, 31 Jul 2012)
Log Message
Maybe fix the GCC build.
* heap/HeapBlock.h:
(HeapBlock): Accommodate incorrect parsing in GCC.
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (124270 => 124271)
--- trunk/Source/_javascript_Core/ChangeLog 2012-07-31 23:38:39 UTC (rev 124270)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-07-31 23:46:53 UTC (rev 124271)
@@ -1,3 +1,10 @@
+2012-07-31 Geoffrey Garen <gga...@apple.com>
+
+ Maybe fix the GCC build.
+
+ * heap/HeapBlock.h:
+ (HeapBlock): Accommodate incorrect parsing in GCC.
+
2012-07-31 Sam Weinig <s...@webkit.org>
Stop masking 8 bits off of the visited link hash. We need all the bits!
Modified: trunk/Source/_javascript_Core/heap/HeapBlock.h (124270 => 124271)
--- trunk/Source/_javascript_Core/heap/HeapBlock.h 2012-07-31 23:38:39 UTC (rev 124270)
+++ trunk/Source/_javascript_Core/heap/HeapBlock.h 2012-07-31 23:46:53 UTC (rev 124271)
@@ -34,9 +34,15 @@
enum AllocationEffort { AllocationCanFail, AllocationMustSucceed };
+#if COMPILER(GCC)
+#define CLASS_IF_GCC class
+#else
+#define CLASS_IF_GCC
+#endif
+
template<typename T>
class HeapBlock : public DoublyLinkedListNode<T> {
- friend DoublyLinkedListNode<T>;
+ friend CLASS_IF_GCC DoublyLinkedListNode<T>;
public:
static const size_t s_blockSize = 64 * KB;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes