aboutsummaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltm.c')
-rw-r--r--ltm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ltm.c b/ltm.c
index 991e62c1..1e32d86a 100644
--- a/ltm.c
+++ b/ltm.c
@@ -147,7 +147,6 @@ static int callbinTM (lua_State *L, const TValue *p1, const TValue *p2,
147 147
148void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, 148void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2,
149 StkId res, TMS event) { 149 StkId res, TMS event) {
150 L->top = L->ci->top;
151 if (!callbinTM(L, p1, p2, res, event)) { 150 if (!callbinTM(L, p1, p2, res, event)) {
152 switch (event) { 151 switch (event) {
153 case TM_BAND: case TM_BOR: case TM_BXOR: 152 case TM_BAND: case TM_BOR: case TM_BXOR:
@@ -191,7 +190,6 @@ void luaT_trybiniTM (lua_State *L, const TValue *p1, lua_Integer i2,
191 190
192int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2, 191int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2,
193 TMS event) { 192 TMS event) {
194 L->top = L->ci->top;
195 if (callbinTM(L, p1, p2, L->top, event)) /* try original event */ 193 if (callbinTM(L, p1, p2, L->top, event)) /* try original event */
196 return !l_isfalse(s2v(L->top)); 194 return !l_isfalse(s2v(L->top));
197#if defined(LUA_COMPAT_LT_LE) 195#if defined(LUA_COMPAT_LT_LE)