Title: [117782] trunk/Source/_javascript_Core
- Revision
- 117782
- Author
- [email protected]
- Date
- 2012-05-21 08:13:11 -0700 (Mon, 21 May 2012)
Log Message
GCC 4.7 and C++11
https://bugs.webkit.org/show_bug.cgi?id=86465
Patch by Allan Sandfeld Jensen <[email protected]> on 2012-05-21
Reviewed by Darin Adler.
Set emptyValueIsZero flag so RegExpKey can be used with the non-copyable RegExp values.
* runtime/RegExpKey.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (117781 => 117782)
--- trunk/Source/_javascript_Core/ChangeLog 2012-05-21 15:09:56 UTC (rev 117781)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-05-21 15:13:11 UTC (rev 117782)
@@ -1,3 +1,14 @@
+2012-05-21 Allan Sandfeld Jensen <[email protected]>
+
+ GCC 4.7 and C++11
+ https://bugs.webkit.org/show_bug.cgi?id=86465
+
+ Reviewed by Darin Adler.
+
+ Set emptyValueIsZero flag so RegExpKey can be used with the non-copyable RegExp values.
+
+ * runtime/RegExpKey.h:
+
2012-05-20 Michael Saboff <[email protected]>
JSGlobalData ScratchBuffers Are Not Visited During Garbage Collection
Modified: trunk/Source/_javascript_Core/runtime/RegExpKey.h (117781 => 117782)
--- trunk/Source/_javascript_Core/runtime/RegExpKey.h 2012-05-21 15:09:56 UTC (rev 117781)
+++ trunk/Source/_javascript_Core/runtime/RegExpKey.h 2012-05-21 15:13:11 UTC (rev 117782)
@@ -103,6 +103,7 @@
};
template<> struct HashTraits<JSC::RegExpKey> : GenericHashTraits<JSC::RegExpKey> {
+ static const bool emptyValueIsZero = true;
static void constructDeletedValue(JSC::RegExpKey& slot) { slot.flagsValue = JSC::DeletedValueFlags; }
static bool isDeletedValue(const JSC::RegExpKey& value) { return value.flagsValue == JSC::DeletedValueFlags; }
};
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes