beta-0.89.2
[luatex.git] / source / libs / luajit / LuaJIT-src / src / lj_gdbjit.h
blob49c586301a8ac5dda0d008e464a34fbc691904b1
1 /*
2 ** Client for the GDB JIT API.
3 ** Copyright (C) 2005-2015 Mike Pall. See Copyright Notice in luajit.h
4 */
6 #ifndef _LJ_GDBJIT_H
7 #define _LJ_GDBJIT_H
9 #include "lj_obj.h"
10 #include "lj_jit.h"
12 #if LJ_HASJIT && defined(LUAJIT_USE_GDBJIT)
14 LJ_FUNC void lj_gdbjit_addtrace(jit_State *J, GCtrace *T);
15 LJ_FUNC void lj_gdbjit_deltrace(jit_State *J, GCtrace *T);
17 #else
18 #define lj_gdbjit_addtrace(J, T) UNUSED(T)
19 #define lj_gdbjit_deltrace(J, T) UNUSED(T)
20 #endif
22 #endif