riscv64-asm: Remove asm_error
This commit is contained in:
parent
1432574b2b
commit
7f3114ebba
1 changed files with 5 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/*************************************************************/
|
||||
/*
|
||||
* RISCV64 dummy assembler for TCC
|
||||
* RISCV64 assembler for TCC
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
@ -19,11 +19,6 @@ ST_FUNC void gen_le32(int c);
|
|||
#define USING_GLOBALS
|
||||
#include "tcc.h"
|
||||
|
||||
static void asm_error(void)
|
||||
{
|
||||
tcc_error("RISCV64 asm not implemented.");
|
||||
}
|
||||
|
||||
/* XXX: make it faster ? */
|
||||
ST_FUNC void g(int c)
|
||||
{
|
||||
|
|
@ -56,12 +51,12 @@ ST_FUNC void gen_expr32(ExprValue *pe)
|
|||
|
||||
ST_FUNC void asm_opcode(TCCState *s1, int opcode)
|
||||
{
|
||||
asm_error();
|
||||
tcc_error("RISCV64 asm not implemented.");
|
||||
}
|
||||
|
||||
ST_FUNC void subst_asm_operand(CString *add_str, SValue *sv, int modifier)
|
||||
{
|
||||
asm_error();
|
||||
tcc_error("RISCV64 asm not implemented.");
|
||||
}
|
||||
|
||||
/* generate prolog and epilog code for asm statement */
|
||||
|
|
@ -81,12 +76,12 @@ ST_FUNC void asm_compute_constraints(ASMOperand *operands,
|
|||
|
||||
ST_FUNC void asm_clobber(uint8_t *clobber_regs, const char *str)
|
||||
{
|
||||
asm_error();
|
||||
tcc_error("RISCV64 asm not implemented.");
|
||||
}
|
||||
|
||||
ST_FUNC int asm_parse_regvar (int t)
|
||||
{
|
||||
asm_error();
|
||||
tcc_error("RISCV64 asm not implemented.");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue