mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Inlined countLeadingZeros per Dmitri's suggestion.
Swift SVN r9970
This commit is contained in:
@@ -261,10 +261,3 @@ __muloti4(ti_int a, ti_int b, int* overflow)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
extern "C"
|
||||
long long
|
||||
countLeadingZeros(long long x)
|
||||
{
|
||||
return __builtin_clzll(x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user