Fix 32/64 bit portability issue with upval->v.
[luajit-2.0/celess22.git] / src / lj_snap.h
blob776a0bcf823d7f046f82f56eac1e9fd61afa2789
1 /*
2 ** Snapshot handling.
3 ** Copyright (C) 2005-2010 Mike Pall. See Copyright Notice in luajit.h
4 */
6 #ifndef _LJ_SNAP_H
7 #define _LJ_SNAP_H
9 #include "lj_obj.h"
10 #include "lj_jit.h"
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
19 #endif