From e41a1cd4d534639272938210c5491077688ccd37 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 25 Feb 2010 12:49:55 -0800 Subject: Replace tacky wrapper macros with tacky in-line type-casts --- ast.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'ast.h') diff --git a/ast.h b/ast.h index 1f659933e98..b04cf75c371 100644 --- a/ast.h +++ b/ast.h @@ -33,18 +33,6 @@ struct _mesa_glsl_parse_state; struct YYLTYPE; -#define _mesa_ast_print(n) \ - ((ast_node *) n)->print() - -#define _mesa_ast_to_hir(n, instr, s) \ - ((struct ast_node *) n)->vtbl->to_hir((struct ast_node *) n, instr, s) - -#define _mesa_ast_function_call_to_hir(n, p, s) \ - ((struct ast_node *) n)->vtbl->function_call_to_hir( \ - (struct ast_node *) n, \ - (struct ast_node *) p, \ - s) - class ast_node : public simple_node { public: virtual ~ast_node(); -- cgit v1.2.3