From 24cc09ca79cf8d53e10e23b1103287f168570899 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 3 Apr 2021 16:49:51 +0300 Subject: Revert "liblua: update to 5.4.3" This reverts commit 875bc74fa5fe083ba0b5c5a785c53ec0f49b9a1b. --- libs/liblua/src/ltm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libs/liblua/src/ltm.c') diff --git a/libs/liblua/src/ltm.c b/libs/liblua/src/ltm.c index b657b783a8..4770f96bb6 100644 --- a/libs/liblua/src/ltm.c +++ b/libs/liblua/src/ltm.c @@ -147,7 +147,7 @@ static int callbinTM (lua_State *L, const TValue *p1, const TValue *p2, void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, StkId res, TMS event) { - if (l_unlikely(!callbinTM(L, p1, p2, res, event))) { + if (!callbinTM(L, p1, p2, res, event)) { switch (event) { case TM_BAND: case TM_BOR: case TM_BXOR: case TM_SHL: case TM_SHR: case TM_BNOT: { @@ -166,8 +166,7 @@ void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, void luaT_tryconcatTM (lua_State *L) { StkId top = L->top; - if (l_unlikely(!callbinTM(L, s2v(top - 2), s2v(top - 1), top - 2, - TM_CONCAT))) + if (!callbinTM(L, s2v(top - 2), s2v(top - 1), top - 2, TM_CONCAT)) luaG_concaterror(L, s2v(top - 2), s2v(top - 1)); } -- cgit v1.2.3