Conver IR structures to use exec_list instead of simple_node
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp
index 602f2cc..a166fbc 100644
--- a/glsl_parser_extras.cpp
+++ b/glsl_parser_extras.cpp
@@ -681,7 +681,7 @@
char *shader;
size_t shader_len;
struct simple_node *ptr;
- struct simple_node instructions;
+ exec_list instructions;
(void) argc;
shader = load_text_file(argv[1], & shader_len);
@@ -698,7 +698,6 @@
((ast_node *)ptr)->print();
}
- make_empty_list(& instructions);
foreach (ptr, & state.translation_unit) {
((ast_node *)ptr)->hir(&instructions, &state);
}