Commit 12bc1f35 authored by eric@webkit.org's avatar eric@webkit.org

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):

git-svn-id: svn://svn.chromium.org/blink/trunk@53954 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent af8d92f1
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):
2010-01-27 Kwang Yul Seo <skyul@company100.net> 2010-01-27 Kwang Yul Seo <skyul@company100.net>
Reviewed by Eric Seidel. Reviewed by Eric Seidel.
......
...@@ -201,10 +201,10 @@ class ARMThumbImmediate { ...@@ -201,10 +201,10 @@ class ARMThumbImmediate {
ALWAYS_INLINE static void countLeadingZerosPartial(uint32_t& value, int32_t& zeros, const int N) ALWAYS_INLINE static void countLeadingZerosPartial(uint32_t& value, int32_t& zeros, const int N)
{ {
if (value & ~((1<<N)-1)) /* check for any of the top N bits (of 2N bits) are set */ \ if (value & ~((1 << N) - 1)) /* check for any of the top N bits (of 2N bits) are set */
value >>= N; /* if any were set, lose the bottom N */ \ value >>= N; /* if any were set, lose the bottom N */
else /* if none of the top N bits are set, */ \ else /* if none of the top N bits are set, */
zeros += N; /* then we have identified N leading zeros */ zeros += N; /* then we have identified N leading zeros */
} }
static int32_t countLeadingZeros(uint32_t value) static int32_t countLeadingZeros(uint32_t value)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment