projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Folly Changes for Clang, revision 1
[folly.git]
/
folly
/
Bits.cpp
diff --git
a/folly/Bits.cpp
b/folly/Bits.cpp
index 62b759f09182193e78ca79a57babff82dbc4c6d1..15842b4571b6c4b80ffae997d90deec4f76a1064 100644
(file)
--- a/
folly/Bits.cpp
+++ b/
folly/Bits.cpp
@@
-22,16
+22,6
@@
// popcnt
#ifndef __POPCNT__
// popcnt
#ifndef __POPCNT__
-// Clang doesn't support ifuncs. This also allows ifunc support to be explicitly
-// passed in as a compile flag.
-#ifndef FOLLY_HAVE_IFUNC
-# ifdef __clang__
-# define FOLLY_HAVE_IFUNC 0
-# else
-# define FOLLY_HAVE_IFUNC 1
-# endif
-#endif
-
namespace {
int popcount_builtin(unsigned int x) {
namespace {
int popcount_builtin(unsigned int x) {
@@
-102,4
+92,3
@@
int popcountll(unsigned long long x)
} // namespace folly
#endif /* !__POPCNT__ */
} // namespace folly
#endif /* !__POPCNT__ */
-