aboutsummaryrefslogtreecommitdiff
path: root/src/lj_bcwrite.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_bcwrite.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lj_bcwrite.c b/src/lj_bcwrite.c
index a70735ca..cc51d0b2 100644
--- a/src/lj_bcwrite.c
+++ b/src/lj_bcwrite.c
@@ -309,8 +309,9 @@ static void bcwrite_header(BCWriteCtx *ctx)
309 *p++ = BCDUMP_HEAD3; 309 *p++ = BCDUMP_HEAD3;
310 *p++ = BCDUMP_VERSION; 310 *p++ = BCDUMP_VERSION;
311 *p++ = (ctx->strip ? BCDUMP_F_STRIP : 0) + 311 *p++ = (ctx->strip ? BCDUMP_F_STRIP : 0) +
312 (LJ_BE ? BCDUMP_F_BE : 0) + 312 LJ_BE*BCDUMP_F_BE +
313 ((ctx->pt->flags & PROTO_FFI) ? BCDUMP_F_FFI : 0); 313 ((ctx->pt->flags & PROTO_FFI) ? BCDUMP_F_FFI : 0) +
314 LJ_FR2*BCDUMP_F_FR2;
314 if (!ctx->strip) { 315 if (!ctx->strip) {
315 p = lj_strfmt_wuleb128(p, len); 316 p = lj_strfmt_wuleb128(p, len);
316 p = lj_buf_wmem(p, name, len); 317 p = lj_buf_wmem(p, name, len);