Changeset 148273 in webkit


Ignore:
Timestamp:
Apr 12, 2013 3:54:21 AM (11 years ago)
Author:
jocelyn.turcotte@digia.com
Message:

Apply our MSVC 2012 optimizer bug workaround to all minor releases
https://bugs.webkit.org/show_bug.cgi?id=114436

Reviewed by Alexey Proskuryakov.

The bug has only been partially fixed in Update 2 but our Update 1 workaround
still avoids the crash.

  • platform/text/TextEncodingRegistry.cpp:

(WebCore::TextEncodingNameHash::equal):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148272 r148273  
     12013-04-12  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
     2
     3        Apply our MSVC 2012 optimizer bug workaround to all minor releases
     4        https://bugs.webkit.org/show_bug.cgi?id=114436
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        The bug has only been partially fixed in Update 2 but our Update 1 workaround
     9        still avoids the crash.
     10
     11        * platform/text/TextEncodingRegistry.cpp:
     12        (WebCore::TextEncodingNameHash::equal):
     13
    1142013-04-12  Mark Rowe  <mrowe@apple.com>
    215
  • trunk/Source/WebCore/platform/text/TextEncodingRegistry.cpp

    r144042 r148273  
    6666        char c2;
    6767        do {
    68 #if defined(_MSC_FULL_VER) && _MSC_FULL_VER == 170051106
    69             // Workaround for a bug in the VS2012 Update 1 optimizer, remove once the fix is released.
    70             // https://connect.microsoft.com/VisualStudio/feedback/details/777533/vs2012-c-optimizing-bug-when-using-inline-and-char-return-type-x86-target-only
     68#if defined(_MSC_VER) && _MSC_VER == 1700
     69            // Workaround for a bug in the VS2012 Update1 and Update2 optimizer, remove once the fix is released.
     70            // https://connect.microsoft.com/VisualStudio/feedback/details/781189/vs2012-update-ctp4-c-optimizing-bug
    7171            c1 = toASCIILower(*s1++);
    7272            c2 = toASCIILower(*s2++);
Note: See TracChangeset for help on using the changeset viewer.