diff options
author | Mike Pall <mike> | 2011-11-14 14:15:57 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-11-14 14:18:25 +0100 |
commit | 71d00a56dbab6c29c0346093dbe530d7b7608be4 (patch) | |
tree | 5e28e19b4d2f20168d5ee0e4fe500b1e2b233c1c /src/lj_target_x86.h | |
parent | e9eb4fdb4a08baaa2d9190187a6c38d5b3f8b091 (diff) | |
download | luajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.tar.gz luajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.tar.bz2 luajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.zip |
FFI: Add callback support (for x86/x64).
Diffstat (limited to 'src/lj_target_x86.h')
-rw-r--r-- | src/lj_target_x86.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_target_x86.h b/src/lj_target_x86.h index 233b77e5..593e7b00 100644 --- a/src/lj_target_x86.h +++ b/src/lj_target_x86.h | |||
@@ -192,6 +192,7 @@ typedef enum { | |||
192 | XI_CALL = 0xe8, | 192 | XI_CALL = 0xe8, |
193 | XI_JMP = 0xe9, | 193 | XI_JMP = 0xe9, |
194 | XI_JMPs = 0xeb, | 194 | XI_JMPs = 0xeb, |
195 | XI_PUSH = 0x50, /* Really 50+r. */ | ||
195 | XI_JCCs = 0x70, /* Really 7x. */ | 196 | XI_JCCs = 0x70, /* Really 7x. */ |
196 | XI_JCCn = 0x80, /* Really 0f8x. */ | 197 | XI_JCCn = 0x80, /* Really 0f8x. */ |
197 | XI_LEA = 0x8d, | 198 | XI_LEA = 0x8d, |
@@ -203,6 +204,7 @@ typedef enum { | |||
203 | XI_PUSHi8 = 0x6a, | 204 | XI_PUSHi8 = 0x6a, |
204 | XI_TEST = 0x85, | 205 | XI_TEST = 0x85, |
205 | XI_MOVmi = 0xc7, | 206 | XI_MOVmi = 0xc7, |
207 | XI_GROUP5 = 0xff, | ||
206 | 208 | ||
207 | /* Note: little-endian byte-order! */ | 209 | /* Note: little-endian byte-order! */ |
208 | XI_FLDZ = 0xeed9, | 210 | XI_FLDZ = 0xeed9, |