From 18238de6c34a1a32c452f1006ed13d8adc1bc9d7 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 1 Mar 2010 13:49:10 -0800 Subject: Make AST->HIR conversion a method of ast_node, re-enable --- hir_field_selection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hir_field_selection.cpp') diff --git a/hir_field_selection.cpp b/hir_field_selection.cpp index 3c9fb08cb3..1dd8126440 100644 --- a/hir_field_selection.cpp +++ b/hir_field_selection.cpp @@ -135,7 +135,7 @@ _mesa_ast_field_selection_to_hir(const ast_expression *expr, YYLTYPE loc; - op = _mesa_ast_to_hir(expr->subexpressions[0], instructions, state); + op = expr->subexpressions[0]->hir(instructions, state); deref = new ir_dereference(op); /* Initially assume that the resulting type of the field selection is an -- cgit v1.2.3