src/ravi_jit.c
static int ravi_jitenable(lua_State *L) {
  int n = lua_gettop(L);
  int oldvalue = raviV_getjitenabled(L);
  if (n == 1) {
    int value = lua_toboolean(L, 1);
    raviV_setjitenabled(L, value);
  }
  lua_pushboolean(L, oldvalue != 0);
  return 1;
}
// Turn on/off the JIT compiler
Turn on/off the JIT compiler
Turn on / off the JIT compiler
static int ravi_jitenable(lua_State *L) {
  int n = lua_gettop(L);
  int oldvalue = raviV_getjitenabled(L);
  if (n == 1) {
    int value = lua_toboolean(L, 1);
    raviV_setjitenabled(L, value);
  }
  lua_pushboolean(L, oldvalue != 0);
  return 1;
}
static int ravi_jitenable ( lua_State * L ) { int n = lua_gettop ( L ) ; int oldvalue = raviV_getjitenabled ( L ) ; if ( n == 1 ) { int value = lua_toboolean ( L , 1 ) ; raviV_setjitenabled ( L , value ) ; } lua_pushboolean ( L , oldvalue != 0 ) ; return 1 ; }
Turn on/off the JIT compiler
Turn on / off the JIT compiler