diff options
author | Mike Pall <mike> | 2015-01-03 15:04:38 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2015-01-03 15:04:38 +0100 |
commit | 054e6abe37450344e20b373ec326055071029e9b (patch) | |
tree | d3abbe61e643f4f59797d2aea24cc3a0643df53b /src/lj_bcread.c | |
parent | a13dfd66c3427f9cc94044f261a526042b0d02f5 (diff) | |
download | luajit-054e6abe37450344e20b373ec326055071029e9b.tar.gz luajit-054e6abe37450344e20b373ec326055071029e9b.tar.bz2 luajit-054e6abe37450344e20b373ec326055071029e9b.zip |
Add LJ_FR2 mode: Two-slot frame info.
Diffstat (limited to 'src/lj_bcread.c')
-rw-r--r-- | src/lj_bcread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_bcread.c b/src/lj_bcread.c index cea20e90..898f029c 100644 --- a/src/lj_bcread.c +++ b/src/lj_bcread.c | |||
@@ -394,6 +394,7 @@ static int bcread_header(LexState *ls) | |||
394 | bcread_byte(ls) != BCDUMP_VERSION) return 0; | 394 | bcread_byte(ls) != BCDUMP_VERSION) return 0; |
395 | bcread_flags(ls) = flags = bcread_uleb128(ls); | 395 | bcread_flags(ls) = flags = bcread_uleb128(ls); |
396 | if ((flags & ~(BCDUMP_F_KNOWN)) != 0) return 0; | 396 | if ((flags & ~(BCDUMP_F_KNOWN)) != 0) return 0; |
397 | if ((flags & BCDUMP_F_FR2) != LJ_FR2*BCDUMP_F_FR2) return 0; | ||
397 | if ((flags & BCDUMP_F_FFI)) { | 398 | if ((flags & BCDUMP_F_FFI)) { |
398 | #if LJ_HASFFI | 399 | #if LJ_HASFFI |
399 | lua_State *L = ls->L; | 400 | lua_State *L = ls->L; |