mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 09:22:43 +00:00
Correct some comments.
This commit is contained in:
parent
1c99cf50da
commit
17a2f86a22
1 changed files with 3 additions and 3 deletions
|
@ -239,9 +239,9 @@ count_operand (operand_t *op)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
var = flow_get_var (op);
|
var = flow_get_var (op);
|
||||||
// daglabels are initialized with number == 0, and any global daglabel
|
// flowvars are initialized with number == 0, and any global flowvar
|
||||||
// used by a function will always have a number >= 0 after flow analysis,
|
// used by a function will always have a number >= 0 after flow analysis,
|
||||||
// and local daglabels will always be 0 before flow analysis, so use -1
|
// and local flowvars will always be 0 before flow analysis, so use -1
|
||||||
// to indicate the variable has been counted.
|
// to indicate the variable has been counted.
|
||||||
//
|
//
|
||||||
// Also, since this is the beginning of flow analysis for this function,
|
// Also, since this is the beginning of flow analysis for this function,
|
||||||
|
@ -267,7 +267,7 @@ add_operand (function_t *func, operand_t *op)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var = flow_get_var (op);
|
var = flow_get_var (op);
|
||||||
// If the daglabel number is still -1, then the daglabel has not yet been
|
// If the flowvar number is still -1, then the flowvar has not yet been
|
||||||
// added to the list of variables referenced by the function.
|
// added to the list of variables referenced by the function.
|
||||||
if (var && var->number == -1) {
|
if (var && var->number == -1) {
|
||||||
var->number = func->num_vars++;
|
var->number = func->num_vars++;
|
||||||
|
|
Loading…
Reference in a new issue