mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-22 10:41:43 +00:00
this is useless and just confused me a lot, removing
This commit is contained in:
parent
7dd31ccf77
commit
47db74c699
1 changed files with 0 additions and 4 deletions
4
ir.c
4
ir.c
|
@ -2310,8 +2310,6 @@ bool ir_function_allocate_locals(ir_function *self)
|
|||
/* Locals need to know their new position */
|
||||
for (i = 0; i < vec_size(self->locals); ++i) {
|
||||
v = self->locals[i];
|
||||
if (i >= vec_size(self->params) && !vec_size(v->life))
|
||||
continue;
|
||||
if (v->locked || !opt_gt)
|
||||
v->code.local = lockalloc.positions[v->code.local];
|
||||
else
|
||||
|
@ -2320,8 +2318,6 @@ bool ir_function_allocate_locals(ir_function *self)
|
|||
/* Take over the actual slot positions on values */
|
||||
for (i = 0; i < vec_size(self->values); ++i) {
|
||||
v = self->values[i];
|
||||
if (!vec_size(v->life))
|
||||
continue;
|
||||
if (v->locked || !opt_gt)
|
||||
v->code.local = lockalloc.positions[v->code.local];
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue