mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
fixing some debug output
This commit is contained in:
parent
b2efef9be2
commit
eb86a3d7a3
1 changed files with 3 additions and 3 deletions
6
ir.c
6
ir.c
|
@ -2927,16 +2927,16 @@ void ir_function_dump(ir_function *f, char *ind,
|
|||
ir_value *v = f->locals[i];
|
||||
oprintf("%s\t%s: ", ind, v->name);
|
||||
for (l = 0; l < v->life_count; ++l) {
|
||||
oprintf("[%i,%i] ", v->life[i].start, v->life[i].end);
|
||||
oprintf("[%i,%i] ", v->life[l].start, v->life[l].end);
|
||||
}
|
||||
oprintf("\n");
|
||||
}
|
||||
for (i = 0; i < f->values_count; ++i) {
|
||||
size_t l;
|
||||
ir_value *v = f->values[i];
|
||||
oprintf("%s\t%s: ", ind, v->name);
|
||||
oprintf("%s\t%s: (%i)", ind, v->name, (int)v->life_count);
|
||||
for (l = 0; l < v->life_count; ++l) {
|
||||
oprintf("[%i,%i] ", v->life[i].start, v->life[i].end);
|
||||
oprintf("[%i,%i] ", v->life[l].start, v->life[l].end);
|
||||
}
|
||||
oprintf("\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue