Add ir_call::iterator to iterate over actual parameters

This commit is contained in:
Ian Romanick 2010-03-26 17:19:47 -07:00
parent 605ff69b0d
commit 9878c6518f

8
ir.h
View file

@ -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)