Changeset 162137 in webkit


Ignore:
Timestamp:
Jan 16, 2014 11:23:48 AM (10 years ago)
Author:
berto@igalia.com
Message:

Source/WTF/wtf/Atomics.h:300: Error: bad register name `%bpl'
https://bugs.webkit.org/show_bug.cgi?id=126985

Reviewed by Csaba Osztrogonác.

Use the 'q' constraint to force using a register that allows
access to its lower byte.

  • wtf/Atomics.h:

(WTF::weakCompareAndSwap):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r162127 r162137  
     12014-01-16  Alberto Garcia  <berto@igalia.com>
     2
     3        Source/WTF/wtf/Atomics.h:300: Error: bad register name `%bpl'
     4        https://bugs.webkit.org/show_bug.cgi?id=126985
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        Use the 'q' constraint to force using a register that allows
     9        access to its lower byte.
     10
     11        * wtf/Atomics.h:
     12        (WTF::weakCompareAndSwap):
     13
    1142014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
    215
  • trunk/Source/WTF/wtf/Atomics.h

    r161601 r162137  
    296296        "sete %1"
    297297        : "+a"(expected), "=q"(result), "+m"(*location)
    298         : "r"(newValue)
     298        : "q"(newValue)
    299299        : "memory"
    300300        );
Note: See TracChangeset for help on using the changeset viewer.