tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] [PATCH 04/16] arm-asm: Remove asm_error


From: Danny Milosavljevic
Subject: [Tinycc-devel] [PATCH 04/16] arm-asm: Remove asm_error
Date: Sat, 26 Dec 2020 22:58:05 +0100

---
 arm-asm.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/arm-asm.c b/arm-asm.c
index 812dad6..a15cd75 100644
--- a/arm-asm.c
+++ b/arm-asm.c
@@ -34,11 +34,6 @@ ST_FUNC void gen_le32(int c);
 #define USING_GLOBALS
 #include "tcc.h"
 
-static void asm_error(void)
-{
-    tcc_error("ARM asm not implemented.");
-}
-
 /* XXX: make it faster ? */
 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)
 {
-    asm_error();
+    tcc_error("internal error: asm_opcode not implemented");
 }
 
 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 */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]