diff options
Diffstat (limited to 'src/lj_mcode.h')
-rw-r--r-- | src/lj_mcode.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lj_mcode.h b/src/lj_mcode.h index be1bdb5a..d11b6682 100644 --- a/src/lj_mcode.h +++ b/src/lj_mcode.h | |||
@@ -6,9 +6,16 @@ | |||
6 | #ifndef _LJ_MCODE_H | 6 | #ifndef _LJ_MCODE_H |
7 | #define _LJ_MCODE_H | 7 | #define _LJ_MCODE_H |
8 | 8 | ||
9 | #include "lj_jit.h" | 9 | #include "lj_obj.h" |
10 | |||
11 | #if LJ_HASJIT || LJ_HASFFI | ||
12 | LJ_FUNC void lj_mcode_sync(void *start, void *end); | ||
13 | #endif | ||
10 | 14 | ||
11 | #if LJ_HASJIT | 15 | #if LJ_HASJIT |
16 | |||
17 | #include "lj_jit.h" | ||
18 | |||
12 | LJ_FUNC void lj_mcode_free(jit_State *J); | 19 | LJ_FUNC void lj_mcode_free(jit_State *J); |
13 | LJ_FUNC MCode *lj_mcode_reserve(jit_State *J, MCode **lim); | 20 | LJ_FUNC MCode *lj_mcode_reserve(jit_State *J, MCode **lim); |
14 | LJ_FUNC void lj_mcode_commit(jit_State *J, MCode *m); | 21 | LJ_FUNC void lj_mcode_commit(jit_State *J, MCode *m); |