Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: third_party/afl/src/types.h

Issue 2238013002: Roll src/third_party/afl/src/ 2.14b..2.30b (16 versions). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Note in "Local Modifications" that we have removed dictionaries/. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/afl/src/testcases/others/xml/small_document.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/afl/src/types.h
diff --git a/third_party/afl/src/types.h b/third_party/afl/src/types.h
index 58d6be51e2d06a20369dbd18694009bae2cdc84b..21d32da6156fce122c6b9d90821bf2b06a5e554f 100644
--- a/third_party/afl/src/types.h
+++ b/third_party/afl/src/types.h
@@ -44,7 +44,7 @@ typedef uint32_t u32;
typedef unsigned long long u64;
#else
typedef uint64_t u64;
-#endif /* ^sizeof(...) */
+#endif /* ^__x86_64__ */
typedef int8_t s8;
typedef int16_t s16;
@@ -76,4 +76,7 @@ typedef int64_t s64;
#define MEM_BARRIER() \
asm volatile("" ::: "memory")
+#define likely(_x) __builtin_expect(!!(_x), 1)
+#define unlikely(_x) __builtin_expect(!!(_x), 0)
+
#endif /* ! _HAVE_TYPES_H */
« no previous file with comments | « third_party/afl/src/testcases/others/xml/small_document.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698