summaryrefslogtreecommitdiff
path: root/il-gen.c
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2012-01-05 12:34:51 +0100
committerThomas Preud'homme <robotux@celest.fr>2012-01-05 12:34:51 +0100
commitd178eb7650ef7356ca4e6d9d64ac242dcff64811 (patch)
tree9f2084d9f6ace2c57691d8efd9ea2cc9bff8d197 /il-gen.c
parentcfef8921f4b5dfa31fd2336484d86e24e3beb2f3 (diff)
Imported Upstream version 0.9.26~git20120104.83d57c0
Diffstat (limited to 'il-gen.c')
-rw-r--r--il-gen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/il-gen.c b/il-gen.c
index 61bc98d..c9b7806 100644
--- a/il-gen.c
+++ b/il-gen.c
@@ -193,7 +193,7 @@ static void il_type_to_str(char *buf, int buf_size,
pstrcat(buf, buf_size, tstr);
break;
case VT_STRUCT:
- error("structures not handled yet");
+ tcc_error("structures not handled yet");
break;
case VT_FUNC:
s = sym_find((unsigned)t >> VT_STRUCT_SHIFT);
@@ -387,7 +387,7 @@ void gfunc_start(GFuncContext *c, int func_call)
void gfunc_param(GFuncContext *c)
{
if ((vtop->t & VT_BTYPE) == VT_STRUCT) {
- error("structures passed as value not handled yet");
+ tcc_error("structures passed as value not handled yet");
} else {
/* simply push on stack */
gv(RC_ST0);