Mesa (master): glsl: Switch ast_type_qualifier to the non-zeroing allocator .
Francisco Jerez
currojerez at kemper.freedesktop.org
Wed Oct 2 00:42:34 UTC 2013
Module: Mesa
Branch: master
Commit: 58d772cb41b71dd3f5cf2bd4afb5781327ab4495
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58d772cb41b71dd3f5cf2bd4afb5781327ab4495
Author: Francisco Jerez <currojerez at riseup.net>
Date: Fri Sep 20 16:23:30 2013 -0700
glsl: Switch ast_type_qualifier to the non-zeroing allocator.
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 at whitecape.org>
---
src/glsl/ast.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index 320e8dd..97905c6 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -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 {
More information about the mesa-commit
mailing list