aboutsummaryrefslogtreecommitdiff
path: root/src/lj_obj.h
diff options
context:
space:
mode:
authorMike Pall <mike>2026-07-20 10:20:49 +0200
committerMike Pall <mike>2026-07-20 10:20:49 +0200
commita2ce8114f107464473070427e69e84f4923bd08a (patch)
tree41fb420f360bf1446ae253dda360af5300e401a6 /src/lj_obj.h
parent14d8a7a27dc8c626ab9e7c7e9e50b6df6def4f03 (diff)
downloadluajit-a2ce8114f107464473070427e69e84f4923bd08a.tar.gz
luajit-a2ce8114f107464473070427e69e84f4923bd08a.tar.bz2
luajit-a2ce8114f107464473070427e69e84f4923bd08a.zip
Backport some v3.0 syntax extensions.
Documentation in #1475. Backport discussion in #1476. Thanks to Appla, slashOwO, Sergey Kaplun, CppCXY.
Diffstat (limited to 'src/lj_obj.h')
-rw-r--r--src/lj_obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h
index f380c78fc..96dc1e0d0 100644
--- a/src/lj_obj.h
+++ b/src/lj_obj.h
@@ -401,6 +401,7 @@ typedef struct GCproto {
401#define PROTO_FFI 0x04 /* Uses BC_KCDATA for FFI datatypes. */ 401#define PROTO_FFI 0x04 /* Uses BC_KCDATA for FFI datatypes. */
402#define PROTO_NOJIT 0x08 /* JIT disabled for this function. */ 402#define PROTO_NOJIT 0x08 /* JIT disabled for this function. */
403#define PROTO_ILOOP 0x10 /* Patched bytecode with ILOOP etc. */ 403#define PROTO_ILOOP 0x10 /* Patched bytecode with ILOOP etc. */
404#define PROTO_BITOP 0x80 /* Uses bit operator bytecodes. */
404/* Only used during parsing. */ 405/* Only used during parsing. */
405#define PROTO_HAS_RETURN 0x20 /* Already emitted a return. */ 406#define PROTO_HAS_RETURN 0x20 /* Already emitted a return. */
406#define PROTO_FIXUP_RETURN 0x40 /* Need to fixup emitted returns. */ 407#define PROTO_FIXUP_RETURN 0x40 /* Need to fixup emitted returns. */