Changeset 53954 in webkit for trunk/JavaScriptCore/assembler


Ignore:
Timestamp:
Jan 27, 2010, 2:59:25 PM (15 years ago)
Author:
[email protected]
Message:

2010-01-27 Anton Muhin <[email protected]>

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):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.