From 0044e7edcea22d2456c051a1c4b744a26960ad27 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 8 Mar 2010 23:44:00 -0800 Subject: Conver IR structures to use exec_list instead of simple_node --- ir.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ir.h') diff --git a/ir.h b/ir.h index 304f1dccfe..b728631d78 100644 --- a/ir.h +++ b/ir.h @@ -21,6 +21,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include "list.h" + struct ir_program { void *bong_hits; }; @@ -41,7 +43,7 @@ enum ir_opcodes { /** * Base class of all IR instructions */ -class ir_instruction : public simple_node { +class ir_instruction : public exec_node { public: unsigned mode; const struct glsl_type *type; @@ -113,7 +115,7 @@ public: /** * List of function parameters stored as ir_variable objects. */ - struct simple_node parameters; + struct exec_list parameters; /** * Pointer to the label that begins the function definition. @@ -134,7 +136,7 @@ public: */ const char *name; - struct simple_node signatures; + struct exec_list signatures; }; /*@}*/ -- cgit v1.2.3