mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 00:10:31 +00:00
Make minor improvements
This commit is contained in:
parent
04caf6f9ad
commit
95b142e4e5
95 changed files with 3818 additions and 2760 deletions
4
third_party/duktape/duk_config.h
vendored
4
third_party/duktape/duk_config.h
vendored
|
@ -800,8 +800,8 @@
|
|||
* because of bugs in gcc-4.4
|
||||
* (http://lists.debian.org/debian-gcc/2010/04/msg00000.html)
|
||||
*/
|
||||
#define DUK_LIKELY(x) likely(x)
|
||||
#define DUK_UNLIKELY(x) unlikely(x)
|
||||
#define DUK_LIKELY(x) __builtin_expect(!!(x), 1)
|
||||
#define DUK_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
||||
#endif
|
||||
/* XXX: equivalent of clang __builtin_unpredictable? */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue