Changeset 53954 in webkit


Ignore:
Timestamp:
Jan 27, 2010 2:59:25 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-01-27 Anton Muhin <antonm@chromium.org>

Reviewed by Darin Adler.

Remove trailing \ from inline function code
https://bugs.webkit.org/show_bug.cgi?id=34223

  • assembler/ARMv7Assembler.h: (JSC::ARMThumbImmediate::countLeadingZerosPartial):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r53928 r53954  
     12010-01-27  Anton Muhin  <antonm@chromium.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        Remove trailing \ from inline function code
     6        https://bugs.webkit.org/show_bug.cgi?id=34223
     7
     8        * assembler/ARMv7Assembler.h:
     9        (JSC::ARMThumbImmediate::countLeadingZerosPartial):
     10
    1112010-01-27  Kwang Yul Seo  <skyul@company100.net>
    212
  • trunk/JavaScriptCore/assembler/ARMv7Assembler.h

    r52729 r53954  
    202202    ALWAYS_INLINE static void countLeadingZerosPartial(uint32_t& value, int32_t& zeros, const int N)
    203203    {
    204         if (value & ~((1<<N)-1)) /* check for any of the top N bits (of 2N bits) are set */ \
    205             value >>= N;         /* if any were set, lose the bottom N */ \
    206         else                     /* if none of the top N bits are set, */ \
    207             zeros += N;          /* then we have identified N leading zeros */
     204        if (value & ~((1 << N) - 1)) /* check for any of the top N bits (of 2N bits) are set */
     205            value >>= N;             /* if any were set, lose the bottom N */
     206        else                         /* if none of the top N bits are set, */
     207            zeros += N;              /* then we have identified N leading zeros */
    208208    }
    209209
Note: See TracChangeset for help on using the changeset viewer.