mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 12:00:38 +00:00
Fix a wrong vec_remove in the tailcall pass
This commit is contained in:
parent
03cb670096
commit
2ec0a96a21
1 changed files with 1 additions and 1 deletions
2
ir.c
2
ir.c
|
@ -566,7 +566,7 @@ bool ir_function_pass_tailcall(ir_function *self)
|
|||
{
|
||||
++optimization_count[OPTIM_MINOR];
|
||||
call->_ops[0] = store->_ops[0];
|
||||
vec_remove(block, vec_size(block->instr) - 2, 1);
|
||||
vec_remove(block->instr, vec_size(block->instr) - 2, 1);
|
||||
ir_instr_delete(store);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue