summaryrefslogtreecommitdiff
path: root/ast_function.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-03-26 00:25:36 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-26 13:58:48 -0700
commitfb9fb5f51deca28ed1ec7b71759fb71fc26a0ab6 (patch)
treec33f1d310090acb9913936499949a0fa436d0484 /ast_function.cpp
parent44e1dfa2df4de3e2de963f0505cdadade6fe8180 (diff)
Add new abstract ir_rvalue class; rework accordingly.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'ast_function.cpp')
-rw-r--r--ast_function.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ast_function.cpp b/ast_function.cpp
index 7082ed3c14..f774a2fd77 100644
--- a/ast_function.cpp
+++ b/ast_function.cpp
@@ -27,7 +27,7 @@
#include "glsl_types.h"
#include "ir.h"
-static ir_instruction *
+static ir_rvalue *
match_function_by_name(exec_list *instructions, const char *name,
YYLTYPE *loc, simple_node *parameters,
struct _mesa_glsl_parse_state *state)
@@ -78,7 +78,7 @@ match_function_by_name(exec_list *instructions, const char *name,
}
-ir_instruction *
+ir_rvalue *
ast_function_expression::hir(exec_list *instructions,
struct _mesa_glsl_parse_state *state)
{