arm-asm: Remove asm_error

This commit is contained in:
Danny Milosavljevic 2020-12-26 16:26:27 +01:00
parent b10824dcdc
commit 9d302620c2
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -34,11 +34,6 @@ ST_FUNC void gen_le32(int c);
#define USING_GLOBALS #define USING_GLOBALS
#include "tcc.h" #include "tcc.h"
static void asm_error(void)
{
tcc_error("ARM asm not implemented.");
}
/* XXX: make it faster ? */ /* XXX: make it faster ? */
ST_FUNC void g(int c) ST_FUNC void g(int c)
{ {
@ -71,12 +66,12 @@ ST_FUNC void gen_expr32(ExprValue *pe)
ST_FUNC void asm_opcode(TCCState *s1, int opcode) ST_FUNC void asm_opcode(TCCState *s1, int opcode)
{ {
asm_error(); tcc_error("internal error: asm_opcode not implemented");
} }
ST_FUNC void subst_asm_operand(CString *add_str, SValue *sv, int modifier) ST_FUNC void subst_asm_operand(CString *add_str, SValue *sv, int modifier)
{ {
asm_error(); tcc_error("internal error: subst_asm_operand not implemented");
} }
/* generate prolog and epilog code for asm statement */ /* generate prolog and epilog code for asm statement */