projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bd1c69
)
glsl: Switch ast_type_qualifier to the non-zeroing allocator.
author
Francisco Jerez
<currojerez@riseup.net>
Fri, 20 Sep 2013 23:23:30 +0000
(16:23 -0700)
committer
Francisco 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
patch
|
blob
|
history
diff --git
a/src/glsl/ast.h
b/src/glsl/ast.h
index 320e8ddd0e5472ab89cff3e6ac1da864388c66f1..97905c6a6d1dde2a463d898283e858b4efb29603 100644
(file)
--- a/
src/glsl/ast.h
+++ b/
src/glsl/ast.h
@@
-346,7
+346,7
@@
enum {
};
struct ast_type_qualifier {
- DECLARE_R
Z
ALLOC_CXX_OPERATORS(ast_type_qualifier);
+ DECLARE_RALLOC_CXX_OPERATORS(ast_type_qualifier);
union {
struct {