Title: [198490] trunk/Source/_javascript_Core
Revision
198490
Author
commit-qu...@webkit.org
Date
2016-03-21 10:17:30 -0700 (Mon, 21 Mar 2016)

Log Message

Fixed compilation with GCC 4.8.
https://bugs.webkit.org/show_bug.cgi?id=155698

Patch by Konstantin Tokarev <annu...@yandex.ru> on 2016-03-21
Reviewed by Alexey Proskuryakov.

GCC 4.8 does not allow aggregate initialization for type with deleted
constructor, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52707.

* dfg/DFGCSEPhase.cpp: Added ctor for ImpureDataSlot.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (198489 => 198490)


--- trunk/Source/_javascript_Core/ChangeLog	2016-03-21 17:10:39 UTC (rev 198489)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-03-21 17:17:30 UTC (rev 198490)
@@ -1,3 +1,15 @@
+2016-03-21  Konstantin Tokarev  <annu...@yandex.ru>
+
+        Fixed compilation with GCC 4.8.
+        https://bugs.webkit.org/show_bug.cgi?id=155698
+
+        Reviewed by Alexey Proskuryakov.
+
+        GCC 4.8 does not allow aggregate initialization for type with deleted
+        constructor, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52707.
+
+        * dfg/DFGCSEPhase.cpp: Added ctor for ImpureDataSlot.
+
 2016-03-21  Joonghun Park  <jh718.p...@samsung.com>
 
         [JSC] Add ArrayBuffer::tryCreate and change the callsites where it is needed

Modified: trunk/Source/_javascript_Core/dfg/DFGCSEPhase.cpp (198489 => 198490)


--- trunk/Source/_javascript_Core/dfg/DFGCSEPhase.cpp	2016-03-21 17:10:39 UTC (rev 198489)
+++ trunk/Source/_javascript_Core/dfg/DFGCSEPhase.cpp	2016-03-21 17:17:30 UTC (rev 198490)
@@ -55,6 +55,10 @@
     WTF_MAKE_NONCOPYABLE(ImpureDataSlot);
     WTF_MAKE_FAST_ALLOCATED;
 public:
+    ImpureDataSlot(HeapLocation key, LazyNode value, unsigned hash)
+        : key(key), value(value), hash(hash)
+    { }
+
     HeapLocation key;
     LazyNode value;
     unsigned hash;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to