diff options
-rw-r--r-- | src/glsl/ir.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 9af267c2ad3..d81751cd1cf 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -93,16 +93,6 @@ class ir_instruction : public exec_node { public: enum ir_node_type ir_type; - /** - * GCC 4.7+ and clang warn when deleting an ir_instruction unless - * there's a virtual destructor present. Because we almost - * universally use ralloc for our memory management of - * ir_instructions, the destructor doesn't need to do any work. - */ - virtual ~ir_instruction() - { - } - /** ir_print_visitor helper for debugging. */ void print(void) const; |