diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib_base.c | 2 | ||||
| -rw-r--r-- | src/lj_gc.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib_base.c b/src/lib_base.c index 83c7663c..492cb594 100644 --- a/src/lib_base.c +++ b/src/lib_base.c | |||
| @@ -503,7 +503,7 @@ LJLIB_CF(print) | |||
| 503 | tv = L->top-1; | 503 | tv = L->top-1; |
| 504 | } | 504 | } |
| 505 | shortcut = (tvisfunc(tv) && funcV(tv)->c.ffid == FF_tostring) | 505 | shortcut = (tvisfunc(tv) && funcV(tv)->c.ffid == FF_tostring) |
| 506 | && !gcrefu(basemt_it(G(L), LJ_TNUMX)); | 506 | && !gcrefu(basemt_it(G(L), LJ_TNUMX)); |
| 507 | for (i = 0; i < nargs; i++) { | 507 | for (i = 0; i < nargs; i++) { |
| 508 | cTValue *o = &L->base[i]; | 508 | cTValue *o = &L->base[i]; |
| 509 | const char *str; | 509 | const char *str; |
diff --git a/src/lj_gc.c b/src/lj_gc.c index 012d0879..d3f548ca 100644 --- a/src/lj_gc.c +++ b/src/lj_gc.c | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | #include "lj_cdata.h" | 25 | #include "lj_cdata.h" |
| 26 | #endif | 26 | #endif |
| 27 | #include "lj_trace.h" | 27 | #include "lj_trace.h" |
| 28 | #include "lj_dispatch.h" | ||
| 28 | #include "lj_vm.h" | 29 | #include "lj_vm.h" |
| 29 | 30 | ||
| 30 | #define GCSTEPSIZE 1024u | 31 | #define GCSTEPSIZE 1024u |
