Title: [195701] trunk/Source/_javascript_Core
Revision
195701
Author
[email protected]
Date
2016-01-27 15:45:46 -0800 (Wed, 27 Jan 2016)

Log Message

[mips] Use reinterpret_cast_ptr to suppress alignment warnings.
https://bugs.webkit.org/show_bug.cgi?id=153424

Patch by Konstantin Tokarev <[email protected]> on 2016-01-27
Reviewed by Darin Adler.

* runtime/JSGenericTypedArrayView.h:
(JSC::JSGenericTypedArrayView::sortFloat):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (195700 => 195701)


--- trunk/Source/_javascript_Core/ChangeLog	2016-01-27 23:42:46 UTC (rev 195700)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-01-27 23:45:46 UTC (rev 195701)
@@ -1,3 +1,13 @@
+2016-01-27  Konstantin Tokarev  <[email protected]>
+
+        [mips] Use reinterpret_cast_ptr to suppress alignment warnings.
+        https://bugs.webkit.org/show_bug.cgi?id=153424
+
+        Reviewed by Darin Adler.
+
+        * runtime/JSGenericTypedArrayView.h:
+        (JSC::JSGenericTypedArrayView::sortFloat):
+
 2016-01-27  Per Arne Vollan  <[email protected]>
 
         [FTL][Win64] Compile fix.

Modified: trunk/Source/_javascript_Core/runtime/JSGenericTypedArrayView.h (195700 => 195701)


--- trunk/Source/_javascript_Core/runtime/JSGenericTypedArrayView.h	2016-01-27 23:42:46 UTC (rev 195700)
+++ trunk/Source/_javascript_Core/runtime/JSGenericTypedArrayView.h	2016-01-27 23:45:46 UTC (rev 195701)
@@ -346,7 +346,7 @@
         // We could use a union but ASAN seems to frown upon that.
         purifyArray();
 
-        IntegralType* array = reinterpret_cast<IntegralType*>(typedVector());
+        IntegralType* array = reinterpret_cast_ptr<IntegralType*>(typedVector());
         std::sort(array, array + m_length, sortComparison<IntegralType>);
 
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to