summaryrefslogtreecommitdiffstats
path: root/hir_field_selection.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-03-01 13:49:10 -0800
committerIan Romanick <[email protected]>2010-03-01 13:49:10 -0800
commit18238de6c34a1a32c452f1006ed13d8adc1bc9d7 (patch)
tree756dfbb1024f3819842004b3f5fe684ff3b40759 /hir_field_selection.cpp
parentd59673c9de9f14e6aefcdb0b06751d935385c4aa (diff)
Make AST->HIR conversion a method of ast_node, re-enable
Diffstat (limited to 'hir_field_selection.cpp')
-rw-r--r--hir_field_selection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hir_field_selection.cpp b/hir_field_selection.cpp
index 3c9fb08cb3e..1dd81264407 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