Changeset 53954 in webkit
- Timestamp:
- Jan 27, 2010 2:59:25 PM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r53928 r53954 1 2010-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 1 11 2010-01-27 Kwang Yul Seo <skyul@company100.net> 2 12 -
trunk/JavaScriptCore/assembler/ARMv7Assembler.h
r52729 r53954 202 202 ALWAYS_INLINE static void countLeadingZerosPartial(uint32_t& value, int32_t& zeros, const int N) 203 203 { 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 */ 208 208 } 209 209
Note: See TracChangeset
for help on using the changeset viewer.