summaryrefslogtreecommitdiff
path: root/src/lj_obj.h
diff options
context:
space:
mode:
authorMike Pall <mike>2011-06-13 00:58:13 +0200
committerMike Pall <mike>2011-06-13 01:04:11 +0200
commit4994fcc32caa90eb25e9e7532c5ed195abb4bb95 (patch)
treed1741d1b9e61c10145775ec805639c389b7ef2a8 /src/lj_obj.h
parent9da94d135535c607d71a5d7e902b561ee418f0ca (diff)
downloadluajit-4994fcc32caa90eb25e9e7532c5ed195abb4bb95.tar.gz
luajit-4994fcc32caa90eb25e9e7532c5ed195abb4bb95.tar.bz2
luajit-4994fcc32caa90eb25e9e7532c5ed195abb4bb95.zip
Add support for bytecode loading/saving.
Diffstat (limited to 'src/lj_obj.h')
-rw-r--r--src/lj_obj.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h
index 3442dc0c..7cdc4a1a 100644
--- a/src/lj_obj.h
+++ b/src/lj_obj.h
@@ -310,11 +310,11 @@ typedef struct GCproto {
310} GCproto; 310} GCproto;
311 311
312/* Flags for prototype. */ 312/* Flags for prototype. */
313#define PROTO_VARARG 0x01 /* Vararg function. */ 313#define PROTO_CHILD 0x01 /* Has child prototypes. */
314#define PROTO_CHILD 0x02 /* Has child prototypes. */ 314#define PROTO_VARARG 0x02 /* Vararg function. */
315#define PROTO_NOJIT 0x04 /* JIT disabled for this function. */ 315#define PROTO_FFI 0x04 /* Uses BC_KCDATA for FFI datatypes. */
316#define PROTO_ILOOP 0x08 /* Patched bytecode with ILOOP etc. */ 316#define PROTO_NOJIT 0x08 /* JIT disabled for this function. */
317#define PROTO_FFI 0x10 /* Uses BC_KCDATA for FFI datatypes. */ 317#define PROTO_ILOOP 0x10 /* Patched bytecode with ILOOP etc. */
318/* Only used during parsing. */ 318/* Only used during parsing. */
319#define PROTO_HAS_RETURN 0x20 /* Already emitted a return. */ 319#define PROTO_HAS_RETURN 0x20 /* Already emitted a return. */
320#define PROTO_FIXUP_RETURN 0x40 /* Need to fixup emitted returns. */ 320#define PROTO_FIXUP_RETURN 0x40 /* Need to fixup emitted returns. */