From: Francisco Jerez Date: Mon, 30 Sep 2013 17:54:48 +0000 (-0700) Subject: st/mesa: Switch glsl_to_tgsi_instruction to the non-zeroing allocator. X-Git-Tag: upstream/10.0.5~1128 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fcbbecb9bc5c2b46913d5d3ec809be396addb1e8;p=platform%2Fupstream%2Fmesa.git st/mesa: Switch glsl_to_tgsi_instruction to the non-zeroing allocator. All member variables of glsl_to_tgsi_instruction are already being initialized from its implicitly defined constructor, it's not necessary to use rzalloc to allocate its memory. Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 2bc6623..a5d0b84 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -217,7 +217,7 @@ st_dst_reg::st_dst_reg(st_src_reg reg) class glsl_to_tgsi_instruction : public exec_node { public: - DECLARE_RZALLOC_CXX_OPERATORS(glsl_to_tgsi_instruction) + DECLARE_RALLOC_CXX_OPERATORS(glsl_to_tgsi_instruction) unsigned op; st_dst_reg dst;