** The use of 'p1' after 'callbinTM' is safe because, when a tag ** method is not found, 'callbinTM' cannot change the stack. */
| 171 | ** method is not found, 'callbinTM' cannot change the stack. |
| 172 | */ |
| 173 | void luaT_tryconcatTM (lua_State *L) { |
| 174 | StkId p1 = L->top.p - 2; /* first argument */ |
| 175 | if (l_unlikely(callbinTM(L, s2v(p1), s2v(p1 + 1), p1, TM_CONCAT) < 0)) |
| 176 | luaG_concaterror(L, s2v(p1), s2v(p1 + 1)); |
| 177 | } |
| 178 | |
| 179 | |
| 180 | void luaT_trybinassocTM (lua_State *L, const TValue *p1, const TValue *p2, |
no test coverage detected