aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_buf.c2
-rw-r--r--src/lj_buf.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/lj_buf.c b/src/lj_buf.c
index 7b6c2188..9cb27a89 100644
--- a/src/lj_buf.c
+++ b/src/lj_buf.c
@@ -77,7 +77,6 @@ SBuf *lj_buf_putmem(SBuf *sb, const void *q, MSize len)
77 return sb; 77 return sb;
78} 78}
79 79
80#if LJ_HASJIT
81SBuf * LJ_FASTCALL lj_buf_putchar(SBuf *sb, int c) 80SBuf * LJ_FASTCALL lj_buf_putchar(SBuf *sb, int c)
82{ 81{
83 char *p = lj_buf_more(sb, 1); 82 char *p = lj_buf_more(sb, 1);
@@ -85,7 +84,6 @@ SBuf * LJ_FASTCALL lj_buf_putchar(SBuf *sb, int c)
85 setsbufP(sb, p); 84 setsbufP(sb, p);
86 return sb; 85 return sb;
87} 86}
88#endif
89 87
90SBuf * LJ_FASTCALL lj_buf_putstr(SBuf *sb, GCstr *s) 88SBuf * LJ_FASTCALL lj_buf_putstr(SBuf *sb, GCstr *s)
91{ 89{
diff --git a/src/lj_buf.h b/src/lj_buf.h
index 1cf1780b..db72270f 100644
--- a/src/lj_buf.h
+++ b/src/lj_buf.h
@@ -67,9 +67,7 @@ static LJ_AINLINE char *lj_buf_more(SBuf *sb, MSize sz)
67 67
68/* Low-level buffer put operations */ 68/* Low-level buffer put operations */
69LJ_FUNC SBuf *lj_buf_putmem(SBuf *sb, const void *q, MSize len); 69LJ_FUNC SBuf *lj_buf_putmem(SBuf *sb, const void *q, MSize len);
70#if LJ_HASJIT
71LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putchar(SBuf *sb, int c); 70LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putchar(SBuf *sb, int c);
72#endif
73LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putstr(SBuf *sb, GCstr *s); 71LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putstr(SBuf *sb, GCstr *s);
74 72
75static LJ_AINLINE char *lj_buf_wmem(char *p, const void *q, MSize len) 73static LJ_AINLINE char *lj_buf_wmem(char *p, const void *q, MSize len)