Changeset 195701 in webkit


Ignore:
Timestamp:
Jan 27, 2016 3:45:46 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

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

Patch by Konstantin Tokarev <Konstantin Tokarev> on 2016-01-27
Reviewed by Darin Adler.

  • runtime/JSGenericTypedArrayView.h:

(JSC::JSGenericTypedArrayView::sortFloat):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r195691 r195701  
     12016-01-27  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        [mips] Use reinterpret_cast_ptr to suppress alignment warnings.
     4        https://bugs.webkit.org/show_bug.cgi?id=153424
     5
     6        Reviewed by Darin Adler.
     7
     8        * runtime/JSGenericTypedArrayView.h:
     9        (JSC::JSGenericTypedArrayView::sortFloat):
     10
    1112016-01-27  Per Arne Vollan  <peavo@outlook.com>
    212
  • trunk/Source/JavaScriptCore/runtime/JSGenericTypedArrayView.h

    r191221 r195701  
    347347        purifyArray();
    348348
    349         IntegralType* array = reinterpret_cast<IntegralType*>(typedVector());
     349        IntegralType* array = reinterpret_cast_ptr<IntegralType*>(typedVector());
    350350        std::sort(array, array + m_length, sortComparison<IntegralType>);
    351351
Note: See TracChangeset for help on using the changeset viewer.