summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-08 23:44:00 -0800
committerIan Romanick <ian.d.romanick@intel.com>2010-03-08 23:44:54 -0800
commit0044e7edcea22d2456c051a1c4b744a26960ad27 (patch)
treee284a1d792f4027d563aca5ee2e94459b08e6d4d /ir.h
parent7e4ce719238e910043325567e941e4ea9a953264 (diff)
Conver IR structures to use exec_list instead of simple_node
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h8
1 files changed, 5 insertions, 3 deletions
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;
};
/*@}*/