summaryrefslogtreecommitdiff
path: root/src/lj_vm.h
diff options
context:
space:
mode:
authorMike Pall <mike>2009-12-08 19:49:20 +0100
committerMike Pall <mike>2009-12-08 19:49:20 +0100
commit1d1fed48a002dfc0919135911057ebc255a53e0a (patch)
treec5c6643908374bb8f02f4c7691332d32f6645986 /src/lj_vm.h
parent55b16959717084884fd4a0cbae6d19e3786c20c7 (diff)
downloadluajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.gz
luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.bz2
luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.zip
RELEASE LuaJIT-2.0.0-beta2v2.0.0-beta2
Diffstat (limited to 'src/lj_vm.h')
-rw-r--r--src/lj_vm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_vm.h b/src/lj_vm.h
index f50614bb..095f284a 100644
--- a/src/lj_vm.h
+++ b/src/lj_vm.h
@@ -46,6 +46,7 @@ LJ_ASMF void lj_vm_powi(void);
46LJ_ASMF void lj_gate_lf(void); 46LJ_ASMF void lj_gate_lf(void);
47LJ_ASMF void lj_gate_lv(void); 47LJ_ASMF void lj_gate_lv(void);
48LJ_ASMF void lj_gate_c(void); 48LJ_ASMF void lj_gate_c(void);
49LJ_ASMF void lj_gate_cwrap(void);
49 50
50/* Continuations for metamethods. */ 51/* Continuations for metamethods. */
51LJ_ASMF void lj_cont_cat(void); /* Continue with concatenation. */ 52LJ_ASMF void lj_cont_cat(void); /* Continue with concatenation. */
@@ -55,12 +56,11 @@ LJ_ASMF void lj_cont_condt(void); /* Branch if result is true. */
55LJ_ASMF void lj_cont_condf(void); /* Branch if result is false. */ 56LJ_ASMF void lj_cont_condf(void); /* Branch if result is false. */
56 57
57/* Start of the ASM code. */ 58/* Start of the ASM code. */
58LJ_ASMF void lj_vm_asm_begin(void); 59LJ_ASMF char lj_vm_asm_begin[];
59 60
60/* Opcode handler offsets, relative to lj_vm_asm_begin. */ 61/* Opcode handler offsets, relative to lj_vm_asm_begin. */
61LJ_ASMF const uint16_t lj_vm_op_ofs[]; 62LJ_ASMF const uint16_t lj_vm_op_ofs[];
62 63
63#define makeasmfunc(ofs) \ 64#define makeasmfunc(ofs) ((ASMFunction)(lj_vm_asm_begin + (ofs)))
64 ((ASMFunction)((char *)lj_vm_asm_begin + (ofs)))
65 65
66#endif 66#endif