From 9878c6518f7938bd5fdae22265dd30bc72d7343c Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 26 Mar 2010 17:19:47 -0700 Subject: [PATCH] Add ir_call::iterator to iterate over actual parameters --- ir.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- 2.30.2