/* Reverse the stack segment from 'from' to 'to' (auxiliary to 'lua_rotate')  */
static void reverse(lua_State *L, StkId from, StkId to)
/* Reverse the stack segment from 'from' to 'to' (auxiliary to 'lua_rotate')  */
static void reverse(lua_State *L, StkId from, StkId to)
{
    TValue temp;
    setobj(L, &temp, from);
    setobjs2s(L, from, to);
    setobj2s(L, to, &temp);
  }
}