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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcbbecb9bc5c2b46913d5d3ec809be396addb1e8;p=mesa.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 2bc6623c008..a5d0b84e391 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;