diff options
| author | Mike Pall <mike> | 2020-01-20 22:20:55 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2020-01-20 22:20:55 +0100 |
| commit | 54484e257f24c47d71b8233844e2ec8664db8071 (patch) | |
| tree | 60c79b65fa5d53351a09eadff3a14fbe0b94c17b /src | |
| parent | 94d0b53004a5fa368defa4307a17edcdb87fe727 (diff) | |
| download | luajit-54484e257f24c47d71b8233844e2ec8664db8071.tar.gz luajit-54484e257f24c47d71b8233844e2ec8664db8071.tar.bz2 luajit-54484e257f24c47d71b8233844e2ec8664db8071.zip | |
Minor fixes.
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 |
