Title: [189133] trunk/Source/_javascript_Core
Revision
189133
Author
[email protected]
Date
2015-08-28 16:43:34 -0700 (Fri, 28 Aug 2015)

Log Message

_javascript_Core fails to build using GCC 5
https://bugs.webkit.org/show_bug.cgi?id=147815

Patch by Khem Raj <[email protected]> on 2015-08-28
Reviewed by Filip Pizlo.

* runtime/JSObject.cpp: Explicitly instantiate all variants of
putByIndexBeyondVectorLengthWithAttributes used by JSArray.cpp.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (189132 => 189133)


--- trunk/Source/_javascript_Core/ChangeLog	2015-08-28 23:16:23 UTC (rev 189132)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-08-28 23:43:34 UTC (rev 189133)
@@ -1,3 +1,13 @@
+2015-08-28  Khem Raj  <[email protected]>
+
+        _javascript_Core fails to build using GCC 5
+        https://bugs.webkit.org/show_bug.cgi?id=147815
+
+        Reviewed by Filip Pizlo.
+
+        * runtime/JSObject.cpp: Explicitly instantiate all variants of
+        putByIndexBeyondVectorLengthWithAttributes used by JSArray.cpp.
+
 2015-08-28  Mark Lam  <[email protected]>
 
         Refactor the JIT printer out of the AbstractMacroAssembler into MacroAssemblerPrinter.

Modified: trunk/Source/_javascript_Core/runtime/JSObject.cpp (189132 => 189133)


--- trunk/Source/_javascript_Core/runtime/JSObject.cpp	2015-08-28 23:16:23 UTC (rev 189132)
+++ trunk/Source/_javascript_Core/runtime/JSObject.cpp	2015-08-28 23:43:34 UTC (rev 189133)
@@ -1956,6 +1956,11 @@
     }
 }
 
+// Explicit instantiations needed by JSArray.cpp.
+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<Int32Shape>(ExecState*, unsigned, JSValue);
+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<DoubleShape>(ExecState*, unsigned, JSValue);
+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<ContiguousShape>(ExecState*, unsigned, JSValue);
+
 void JSObject::putByIndexBeyondVectorLengthWithArrayStorage(ExecState* exec, unsigned i, JSValue value, bool shouldThrow, ArrayStorage* storage)
 {
     VM& vm = exec->vm();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to