nasmlib.h: add unlikely() to nasm_assert()
commitfe1ca5a09fb3e82535a40aad3c5caa84d72d7d3a
authorH. Peter Anvin <hpa@zytor.com>
Sat, 4 Jul 2009 05:55:51 +0000 (3 22:55 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 4 Jul 2009 05:55:51 +0000 (3 22:55 -0700)
tree3c490c2a0958ccf6b9618d90e64f4fdbbe5934df
parent7f2c4762970b104abdff87da63f46082deed5157
nasmlib.h: add unlikely() to nasm_assert()

We explicitly want the compiler to pessimize the taken case of the
assert, so unlikely() is appropriate here.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
nasmlib.h