Skip to content

Commit ee97fef

Browse files
committed
Remove unused code
1 parent e2d1534 commit ee97fef

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/lexer.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,6 @@ bool is_whitespace(char c)
150150

151151
char peek_char(int offset);
152152

153-
/* is it backslash-newline? */
154-
bool is_linebreak(char c)
155-
{
156-
return c == '\\' && peek_char(1) == '\n';
157-
}
158153

159154
bool is_newline(char c)
160155
{

src/riscv.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -377,15 +377,6 @@ int __ecall(void)
377377
return rv_encode_I(rv_ecall, __zero, __zero, 0);
378378
}
379379

380-
int __ebreak(void)
381-
{
382-
return rv_encode_I(rv_ebreak, __zero, __zero, 1);
383-
}
384-
385-
int __nop(void)
386-
{
387-
return __addi(__zero, __zero, 0);
388-
}
389380

390381
int __mul(rv_reg rd, rv_reg rs1, rv_reg rs2)
391382
{

0 commit comments

Comments
 (0)