From a97d6439442b399b79415ff6361652ae96120d5d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 3 Sep 2018 09:54:28 -0400 Subject: [PATCH] qemu/int128: Disable assert in int128.h This mirrors the int128_get64() variant for the case when CONFIG_INT128 is not defined as 1, which was pre-existing in unicorn. --- qemu/include/qemu/int128.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/include/qemu/int128.h b/qemu/include/qemu/int128.h index fce4be74..159cb13f 100644 --- a/qemu/include/qemu/int128.h +++ b/qemu/include/qemu/int128.h @@ -21,7 +21,7 @@ static inline Int128 int128_make128(uint64_t lo, uint64_t hi) static inline uint64_t int128_get64(Int128 a) { uint64_t r = a; - assert(r == a); + //assert(r == a); return r; }