Fix build with JIT disabled.

Thanks to Peter Melnichenko.
This commit is contained in:
Mike Pall
2016-03-01 13:26:42 +01:00
parent 18f6aa97fd
commit 1c45c6a6a2
2 changed files with 0 additions and 4 deletions

View File

@@ -77,7 +77,6 @@ SBuf *lj_buf_putmem(SBuf *sb, const void *q, MSize len)
return sb;
}
#if LJ_HASJIT
SBuf * LJ_FASTCALL lj_buf_putchar(SBuf *sb, int c)
{
char *p = lj_buf_more(sb, 1);
@@ -85,7 +84,6 @@ SBuf * LJ_FASTCALL lj_buf_putchar(SBuf *sb, int c)
setsbufP(sb, p);
return sb;
}
#endif
SBuf * LJ_FASTCALL lj_buf_putstr(SBuf *sb, GCstr *s)
{