diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-08 23:44:00 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-08 23:44:54 -0800 |
commit | 0044e7edcea22d2456c051a1c4b744a26960ad27 (patch) | |
tree | e284a1d792f4027d563aca5ee2e94459b08e6d4d /ir.h | |
parent | 7e4ce719238e910043325567e941e4ea9a953264 (diff) |
Conver IR structures to use exec_list instead of simple_node
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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; }; /*@}*/ |