summaryrefslogtreecommitdiff
path: root/src/lj_vm.h
diff options
context:
space:
mode:
authorMike Pall <mike>2011-11-14 14:15:57 +0100
committerMike Pall <mike>2011-11-14 14:18:25 +0100
commit71d00a56dbab6c29c0346093dbe530d7b7608be4 (patch)
tree5e28e19b4d2f20168d5ee0e4fe500b1e2b233c1c /src/lj_vm.h
parente9eb4fdb4a08baaa2d9190187a6c38d5b3f8b091 (diff)
downloadluajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.tar.gz
luajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.tar.bz2
luajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.zip
FFI: Add callback support (for x86/x64).
Diffstat (limited to 'src/lj_vm.h')
-rw-r--r--src/lj_vm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_vm.h b/src/lj_vm.h
index 5a82dab0..9ce14acc 100644
--- a/src/lj_vm.h
+++ b/src/lj_vm.h
@@ -88,6 +88,8 @@ LJ_ASMF void lj_cont_condt(void); /* Branch if result is true. */
88LJ_ASMF void lj_cont_condf(void); /* Branch if result is false. */ 88LJ_ASMF void lj_cont_condf(void); /* Branch if result is false. */
89LJ_ASMF void lj_cont_hook(void); /* Continue from hook yield. */ 89LJ_ASMF void lj_cont_hook(void); /* Continue from hook yield. */
90 90
91enum { LJ_CONT_TAILCALL, LJ_CONT_FFI_CALLBACK }; /* Special continuations. */
92
91/* Start of the ASM code. */ 93/* Start of the ASM code. */
92LJ_ASMF char lj_vm_asm_begin[]; 94LJ_ASMF char lj_vm_asm_begin[];
93 95