mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
Rename add_statement_ref to add_statement_def_ref.
This commit is contained in:
parent
f72d6d6a27
commit
95b17d9fd4
1 changed files with 4 additions and 4 deletions
|
@ -106,7 +106,7 @@ get_operand_def (operand_t *op)
|
|||
}
|
||||
|
||||
static void
|
||||
add_statement_ref (def_t *def, dstatement_t *st, int field)
|
||||
add_statement_def_ref (def_t *def, dstatement_t *st, int field)
|
||||
{
|
||||
if (def) {
|
||||
int st_ofs = st - pr.code->code;
|
||||
|
@ -138,9 +138,9 @@ emit_statement (statement_t *statement)
|
|||
s->b = def_b ? def_b->offset : 0;
|
||||
s->c = def_c ? def_c->offset : 0;
|
||||
|
||||
add_statement_ref (def_a, s, 0);
|
||||
add_statement_ref (def_b, s, 0);
|
||||
add_statement_ref (def_c, s, 0);
|
||||
add_statement_def_ref (def_a, s, 0);
|
||||
add_statement_def_ref (def_b, s, 1);
|
||||
add_statement_def_ref (def_c, s, 2);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue