aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/luajit-2.0/src/lj_mcode.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-23 23:36:30 +1000
committerDavid Walter Seikel2012-01-23 23:36:30 +1000
commit6523585c66c04cea54df50013df8886b589847d8 (patch)
tree0b22aee7064166d88595eda260ca2d17c0773da5 /libraries/luajit-2.0/src/lj_mcode.h
parentUpdate the EFL to what I'm actually using, coz I'm using some stuff not yet r... (diff)
downloadSledjHamr-6523585c66c04cea54df50013df8886b589847d8.zip
SledjHamr-6523585c66c04cea54df50013df8886b589847d8.tar.gz
SledjHamr-6523585c66c04cea54df50013df8886b589847d8.tar.bz2
SledjHamr-6523585c66c04cea54df50013df8886b589847d8.tar.xz
Add luaproc and LuaJIT libraries.
Two versions of LuaJIT, the stable release, and the dev version. Try the dev version first, until ih fails badly.
Diffstat (limited to 'libraries/luajit-2.0/src/lj_mcode.h')
-rw-r--r--libraries/luajit-2.0/src/lj_mcode.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/libraries/luajit-2.0/src/lj_mcode.h b/libraries/luajit-2.0/src/lj_mcode.h
new file mode 100644
index 0000000..d11b668
--- /dev/null
+++ b/libraries/luajit-2.0/src/lj_mcode.h
@@ -0,0 +1,30 @@
1/*
2** Machine code management.
3** Copyright (C) 2005-2011 Mike Pall. See Copyright Notice in luajit.h
4*/
5
6#ifndef _LJ_MCODE_H
7#define _LJ_MCODE_H
8
9#include "lj_obj.h"
10
11#if LJ_HASJIT || LJ_HASFFI
12LJ_FUNC void lj_mcode_sync(void *start, void *end);
13#endif
14
15#if LJ_HASJIT
16
17#include "lj_jit.h"
18
19LJ_FUNC void lj_mcode_free(jit_State *J);
20LJ_FUNC MCode *lj_mcode_reserve(jit_State *J, MCode **lim);
21LJ_FUNC void lj_mcode_commit(jit_State *J, MCode *m);
22LJ_FUNC void lj_mcode_abort(jit_State *J);
23LJ_FUNC MCode *lj_mcode_patch(jit_State *J, MCode *ptr, int finish);
24LJ_FUNC_NORET void lj_mcode_limiterr(jit_State *J, size_t need);
25
26#define lj_mcode_commitbot(J, m) (J->mcbot = (m))
27
28#endif
29
30#endif