diff options
Diffstat (limited to 'lobject.c')
-rw-r--r-- | lobject.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -127,9 +127,7 @@ void luaO_arith (lua_State *L, int op, const TValue *p1, const TValue *p2, | |||
127 | StkId res) { | 127 | StkId res) { |
128 | if (!luaO_rawarith(L, op, p1, p2, s2v(res))) { | 128 | if (!luaO_rawarith(L, op, p1, p2, s2v(res))) { |
129 | /* could not perform raw operation; try metamethod */ | 129 | /* could not perform raw operation; try metamethod */ |
130 | ptrdiff_t top = savestack(L, L->top); | ||
131 | luaT_trybinTM(L, p1, p2, res, cast(TMS, (op - LUA_OPADD) + TM_ADD)); | 130 | luaT_trybinTM(L, p1, p2, res, cast(TMS, (op - LUA_OPADD) + TM_ADD)); |
132 | L->top = restorestack(L, top); | ||
133 | } | 131 | } |
134 | } | 132 | } |
135 | 133 | ||