diff options
author | Ian Romanick <[email protected]> | 2010-02-25 12:49:55 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-02-25 12:49:55 -0800 |
commit | e41a1cd4d534639272938210c5491077688ccd37 (patch) | |
tree | 4a99b3dd98c102e802c6f4f5052c00ed00d95bef /ast.h | |
parent | 168890ce1b8923f814e3b15ad51d66e88e5b0d70 (diff) |
Replace tacky wrapper macros with tacky in-line type-casts
Diffstat (limited to 'ast.h')
-rw-r--r-- | ast.h | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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(); |