summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-26 17:19:47 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-26 17:20:31 -0700
commit9878c6518f7938bd5fdae22265dd30bc72d7343c (patch)
tree4f93f852f0345c37f1f8357113edb4be36a5ae06 /ir.h
parent605ff69b0dbcf3206e4c9af50732083be0c908de (diff)
Add ir_call::iterator to iterate over actual parameters
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index 04ac0b3e01..98455f7c37 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)