Merge branch 'master' into blub/bc3

This commit is contained in:
Wolfgang Bumiller 2012-07-19 18:06:56 +02:00
commit 09fa41318d

4
ir.c
View file

@ -2549,6 +2549,10 @@ void ir_function_dump(ir_function *f, char *ind,
int (*oprintf)(const char*, ...))
{
size_t i;
if (f->builtin != 0) {
oprintf("%sfunction %s = builtin %i\n", ind, f->name, -f->builtin);
return;
}
oprintf("%sfunction %s\n", ind, f->name);
strncat(ind, "\t", IND_BUFSZ);
if (f->locals_count)