projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c42e640
)
ast_node: Remove empty destructor.
author
Carl Worth
<cworth@cworth.org>
Wed, 23 Jun 2010 23:16:32 +0000
(16:16 -0700)
committer
Carl Worth
<cworth@cworth.org>
Wed, 23 Jun 2010 23:16:32 +0000
(16:16 -0700)
This wasn't serving any purpose. So delete it.
ast.h
patch
|
blob
|
history
glsl_parser_extras.cpp
patch
|
blob
|
history
diff --git
a/ast.h
b/ast.h
index
1cf80af
..
782e2c7
100644
(file)
--- a/
ast.h
+++ b/
ast.h
@@
-36,7
+36,6
@@
struct YYLTYPE;
class ast_node {
public:
- virtual ~ast_node();
virtual void print(void) const;
virtual ir_rvalue *hir(exec_list *instructions,
struct _mesa_glsl_parse_state *state);
diff --git
a/glsl_parser_extras.cpp
b/glsl_parser_extras.cpp
index
7bd30de
..
1d16ef5
100644
(file)
--- a/
glsl_parser_extras.cpp
+++ b/
glsl_parser_extras.cpp
@@
-155,13
+155,6
@@
_mesa_glsl_process_extension(const char *name, YYLTYPE *name_locp,
return true;
}
-
-ast_node::~ast_node()
-{
- /* empty */
-}
-
-
void
_mesa_ast_type_qualifier_print(const struct ast_type_qualifier *q)
{