From: Ian Romanick Date: Sat, 27 Mar 2010 00:19:47 +0000 (-0700) Subject: Add ir_call::iterator to iterate over actual parameters X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9878c6518f7938bd5fdae22265dd30bc72d7343c;p=mesa.git Add ir_call::iterator to iterate over actual parameters --- diff --git a/ir.h b/ir.h index 04ac0b3e013..98455f7c379 100644 --- a/ir.h +++ b/ir.h @@ -319,6 +319,14 @@ public: */ static ir_call *get_error_instruction(); + /** + * Get an iterator for the set of acutal parameters + */ + exec_list_iterator iterator() + { + return actual_parameters.iterator(); + } + private: ir_call() : ir_rvalue(), callee(NULL)