Make AST->HIR conversion a method of ast_node, re-enable

This commit is contained in:
Ian Romanick
2010-03-01 13:49:10 -08:00
parent d59673c9de
commit 18238de6c3
5 changed files with 127 additions and 113 deletions

View File

@@ -698,12 +698,10 @@ main(int argc, char **argv)
((ast_node *)ptr)->print();
}
#if 0
make_empty_list(& instructions);
foreach (ptr, & state.translation_unit) {
_mesa_ast_to_hir(ptr, &instructions, &state);
((ast_node *)ptr)->hir(&instructions, &state);
}
#endif
_mesa_symbol_table_dtor(state.symbols);