glsl: Switch ast_type_qualifier to the non-zeroing allocator.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 20 Sep 2013 23:23:30 +0000 (16:23 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 2 Oct 2013 00:30:51 +0000 (17:30 -0700)
All member variables of ast_type_qualifier are already being
initialized from its implicitly defined constructor, it's not
necessary to use rzalloc to allocate its memory.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast.h

index 320e8ddd0e5472ab89cff3e6ac1da864388c66f1..97905c6a6d1dde2a463d898283e858b4efb29603 100644 (file)
@@ -346,7 +346,7 @@ enum {
 };
 
 struct ast_type_qualifier {
-   DECLARE_RZALLOC_CXX_OPERATORS(ast_type_qualifier);
+   DECLARE_RALLOC_CXX_OPERATORS(ast_type_qualifier);
 
    union {
       struct {