Minor fixes.

master
Mike Pall 2020-01-20 22:20:55 +01:00
parent 94d0b53004
commit 54484e257f
2 changed files with 2 additions and 1 deletions

View File

@ -503,7 +503,7 @@ LJLIB_CF(print)
tv = L->top-1;
}
shortcut = (tvisfunc(tv) && funcV(tv)->c.ffid == FF_tostring)
&& !gcrefu(basemt_it(G(L), LJ_TNUMX));
&& !gcrefu(basemt_it(G(L), LJ_TNUMX));
for (i = 0; i < nargs; i++) {
cTValue *o = &L->base[i];
const char *str;

View File

@ -25,6 +25,7 @@
#include "lj_cdata.h"
#endif
#include "lj_trace.h"
#include "lj_dispatch.h"
#include "lj_vm.h"
#define GCSTEPSIZE 1024u