mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 13:11:00 +00:00
[qfcc] Fix a typo in a variable name
This commit is contained in:
parent
4800fef4fd
commit
b03132825e
1 changed files with 3 additions and 3 deletions
|
@ -1594,12 +1594,12 @@ statement_return (sblock_t *sblock, const expr_t *e)
|
||||||
const expr_t *ret_val = e->retrn.ret_val;
|
const expr_t *ret_val = e->retrn.ret_val;
|
||||||
auto ret_type = get_type (ret_val);
|
auto ret_type = get_type (ret_val);
|
||||||
operand_t *target = 0;
|
operand_t *target = 0;
|
||||||
pr_ushort_t ret_crtl = type_size (ret_type) - 1;
|
pr_ushort_t ret_ctrl = type_size (ret_type) - 1;
|
||||||
pr_ushort_t mode = 0;
|
pr_ushort_t mode = 0;
|
||||||
sblock = addressing_mode (sblock, ret_val, &s->opa, &s->opb, &mode,
|
sblock = addressing_mode (sblock, ret_val, &s->opa, &s->opb, &mode,
|
||||||
&target);
|
&target);
|
||||||
ret_crtl |= mode << 5;
|
ret_ctrl |= mode << 5;
|
||||||
s->opc = short_operand (ret_crtl, e);
|
s->opc = short_operand (ret_ctrl, e);
|
||||||
statement_add_use (s, target);
|
statement_add_use (s, target);
|
||||||
} else {
|
} else {
|
||||||
if (e->retrn.at_return) {
|
if (e->retrn.at_return) {
|
||||||
|
|
Loading…
Reference in a new issue