diff options
Diffstat (limited to 'src/lj_snap.h')
-rw-r--r-- | src/lj_snap.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lj_snap.h b/src/lj_snap.h new file mode 100644 index 00000000..806047b1 --- /dev/null +++ b/src/lj_snap.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | ** Snapshot handling. | ||
3 | ** Copyright (C) 2005-2009 Mike Pall. See Copyright Notice in luajit.h | ||
4 | */ | ||
5 | |||
6 | #ifndef _LJ_SNAP_H | ||
7 | #define _LJ_SNAP_H | ||
8 | |||
9 | #include "lj_obj.h" | ||
10 | #include "lj_jit.h" | ||
11 | |||
12 | #if LJ_HASJIT | ||
13 | LJ_FUNC void lj_snap_add(jit_State *J); | ||
14 | LJ_FUNC void lj_snap_shrink(jit_State *J); | ||
15 | LJ_FUNC void lj_snap_regspmap(uint16_t *rsmap, Trace *T, SnapNo snapno); | ||
16 | LJ_FUNC void lj_snap_restore(jit_State *J, void *exptr); | ||
17 | #endif | ||
18 | |||
19 | #endif | ||