diff options
author | chai <chaifix@163.com> | 2018-10-26 08:28:21 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-26 08:28:21 +0800 |
commit | ba97a053286bdb17643448cc5034c71065bc4e86 (patch) | |
tree | 9744e33dc9da330a4ba294b6f4df7938974bae7a /build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_snap.h | |
parent | 519bc6735f34b8bc79f696996fdc4defee5253f8 (diff) |
-删除无用的Libs
Diffstat (limited to 'build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_snap.h')
-rw-r--r-- | build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_snap.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_snap.h b/build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_snap.h deleted file mode 100644 index 2c9ae3d..0000000 --- a/build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_snap.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -** Snapshot handling. -** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h -*/ - -#ifndef _LJ_SNAP_H -#define _LJ_SNAP_H - -#include "lj_obj.h" -#include "lj_jit.h" - -#if LJ_HASJIT -LJ_FUNC void lj_snap_add(jit_State *J); -LJ_FUNC void lj_snap_purge(jit_State *J); -LJ_FUNC void lj_snap_shrink(jit_State *J); -LJ_FUNC IRIns *lj_snap_regspmap(GCtrace *T, SnapNo snapno, IRIns *ir); -LJ_FUNC void lj_snap_replay(jit_State *J, GCtrace *T); -LJ_FUNC const BCIns *lj_snap_restore(jit_State *J, void *exptr); -LJ_FUNC void lj_snap_grow_buf_(jit_State *J, MSize need); -LJ_FUNC void lj_snap_grow_map_(jit_State *J, MSize need); - -static LJ_AINLINE void lj_snap_grow_buf(jit_State *J, MSize need) -{ - if (LJ_UNLIKELY(need > J->sizesnap)) lj_snap_grow_buf_(J, need); -} - -static LJ_AINLINE void lj_snap_grow_map(jit_State *J, MSize need) -{ - if (LJ_UNLIKELY(need > J->sizesnapmap)) lj_snap_grow_map_(J, need); -} - -#endif - -#endif |