diff options
| author | grischka <grischka> | 2011-08-11 17:07:56 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2011-08-11 17:07:56 +0200 |
| commit | bf374a5f238360d6a5055d79f53065fa95a26047 (patch) | |
| tree | ed7cdfeab603cc28a9715a3abcd23df550bdca2f /c67-gen.c | |
| parent | 74a24d77fd9c08ad9a6b3b6c0f434c7314dae639 (diff) | |
| download | tinycc-bf374a5f238360d6a5055d79f53065fa95a26047.tar.gz tinycc-bf374a5f238360d6a5055d79f53065fa95a26047.tar.bz2 | |
rename error/warning -> tcc_(error/warning)
Diffstat (limited to 'c67-gen.c')
| -rw-r--r-- | c67-gen.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -95,7 +95,7 @@ enum { #define ALWAYS_ASSERT(x) \ do {\ if (!(x))\ - error("internal compiler error file at %s:%d", __FILE__, __LINE__);\ + tcc_error("internal compiler error file at %s:%d", __FILE__, __LINE__);\ } while (0) /* defined if function parameters must be evaluated in reverse order */ @@ -1572,7 +1572,7 @@ void load(int r, SValue * sv) load(r, &v1); fr = r; } else if ((ft & VT_BTYPE) == VT_LDOUBLE) { - error("long double not supported"); + tcc_error("long double not supported"); } else if ((ft & VT_TYPE) == VT_BYTE) { size = 1; } else if ((ft & VT_TYPE) == (VT_BYTE | VT_UNSIGNED)) { @@ -1726,7 +1726,7 @@ void store(int r, SValue * v) /* XXX: incorrect if float reg to reg */ if (bt == VT_LDOUBLE) { - error("long double not supported"); + tcc_error("long double not supported"); } else { if (bt == VT_SHORT) size = 2; @@ -1881,7 +1881,7 @@ void gfunc_call(int nb_args) int args_sizes[NoCallArgsPassedOnStack]; if (nb_args > NoCallArgsPassedOnStack) { - error("more than 10 function params not currently supported"); + tcc_error("more than 10 function params not currently supported"); // handle more than 10, put some on the stack } @@ -1896,9 +1896,9 @@ void gfunc_call(int nb_args) if ((vtop->type.t & VT_BTYPE) == VT_LLONG) { - error("long long not supported"); + tcc_error("long long not supported"); } else if ((vtop->type.t & VT_BTYPE) == VT_LDOUBLE) { - error("long double not supported"); + tcc_error("long double not supported"); } else if ((vtop->type.t & VT_BTYPE) == VT_DOUBLE) { size = 8; } else { @@ -2329,7 +2329,7 @@ void gen_opf(int op) if ((ft & VT_BTYPE) == VT_LDOUBLE) - error("long doubles not supported"); + tcc_error("long doubles not supported"); if (op >= TOK_ULT && op <= TOK_GT) { @@ -2481,7 +2481,7 @@ void gen_cvt_ftoi(int t) r = vtop->r; if (t != VT_INT) - error("long long not supported"); + tcc_error("long long not supported"); else { if ((vtop->type.t & VT_BTYPE) == VT_DOUBLE) { C67_DPTRUNC(r, r); |
