mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
Fix incorrect comments in function inliner.
This commit is contained in:
parent
a2c6df5566
commit
c07fdae33f
1 changed files with 3 additions and 3 deletions
|
|
@ -389,15 +389,15 @@ ir_call::generate_inline(ir_instruction *next_ir)
|
|||
next_ir->insert_before(v.result);
|
||||
}
|
||||
|
||||
/* Generate the declarations for the parameters to our inlined code,
|
||||
* and set up the mapping of real function body variables to ours.
|
||||
/* Copy back the value of any 'out' parameters from the function body
|
||||
* variables to our own.
|
||||
*/
|
||||
i = 0;
|
||||
param_iter = this->actual_parameters.iterator();
|
||||
for (i = 0; i < num_parameters; i++) {
|
||||
ir_instruction *const param = (ir_instruction *) param_iter.get();
|
||||
|
||||
/* Move the actual param into our param variable if it's an 'in' type. */
|
||||
/* Move our param variable into the actual param if it's an 'out' type. */
|
||||
if (parameters[i]->mode == ir_var_out ||
|
||||
parameters[i]->mode == ir_var_inout) {
|
||||
ir_assignment *assign;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue