Don't use jit_State during build with JIT disabled.

This commit is contained in:
Mike Pall
2022-06-08 11:20:28 +02:00
parent 68bb11405c
commit b32e94856b
3 changed files with 19 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
#define _LJ_JIT_H
#include "lj_obj.h"
#if LJ_HASJIT
#include "lj_ir.h"
/* -- JIT engine flags ---------------------------------------------------- */
@@ -516,5 +517,6 @@ typedef struct jit_State {
#else
#define lj_assertJ(c, ...) ((void)J)
#endif
#endif
#endif