From 1461ba358f0f14a10d1e375d444ea35d515b3258 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 5 Nov 2020 08:36:10 +0900 Subject: [PATCH] temporary --- mold.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mold.h b/mold.h index 98ad5220..f7f02c1f 100644 --- a/mold.h +++ b/mold.h @@ -24,6 +24,9 @@ #define SECTOR_SIZE 512 #define PAGE_SIZE 4096 +#define LIKELY(x) __builtin_expect((x), 1) +#define UNLIKELY(x) __builtin_expect((x), 0) + typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32;