aboutsummaryrefslogtreecommitdiff
path: root/src/lj_bcdump.h
diff options
context:
space:
mode:
authorMike Pall <mike>2013-02-23 02:09:19 +0100
committerMike Pall <mike>2013-02-23 02:09:19 +0100
commit73ef845fcaf65937ad63e9cf6b681cb3e61f4504 (patch)
tree078cfae62c78ae9b9c0cfe5afe6000643ffc805d /src/lj_bcdump.h
parentb359ce804bb52585815fc52d7846202db4341acb (diff)
downloadluajit-73ef845fcaf65937ad63e9cf6b681cb3e61f4504.tar.gz
luajit-73ef845fcaf65937ad63e9cf6b681cb3e61f4504.tar.bz2
luajit-73ef845fcaf65937ad63e9cf6b681cb3e61f4504.zip
Add special bytecodes for builtins.
BC_ISTYPE, BC_ISNUM: fast type checks/coercions. BC_TGETR, BC_TSETR: fast rawgeti/rawseti, no type checks for table/key.
Diffstat (limited to 'src/lj_bcdump.h')
-rw-r--r--src/lj_bcdump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_bcdump.h b/src/lj_bcdump.h
index c1ed54e7..22a8b823 100644
--- a/src/lj_bcdump.h
+++ b/src/lj_bcdump.h
@@ -36,7 +36,7 @@
36/* If you perform *any* kind of private modifications to the bytecode itself 36/* If you perform *any* kind of private modifications to the bytecode itself
37** or to the dump format, you *must* set BCDUMP_VERSION to 0x80 or higher. 37** or to the dump format, you *must* set BCDUMP_VERSION to 0x80 or higher.
38*/ 38*/
39#define BCDUMP_VERSION 1 39#define BCDUMP_VERSION 2
40 40
41/* Compatibility flags. */ 41/* Compatibility flags. */
42#define BCDUMP_F_BE 0x01 42#define BCDUMP_F_BE 0x01