Mesa (master): mesa/program: Switch ir_to_mesa_instruction 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: 03d46344dff6618dcadd95c058bb136c0b5bcb2f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03d46344dff6618dcadd95c058bb136c0b5bcb2f
Author: Francisco Jerez <currojerez at riseup.net>
Date: Mon Sep 30 10:53:16 2013 -0700
mesa/program: Switch ir_to_mesa_instruction to the non-zeroing allocator.
All member variables of ir_to_mesa_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 <kenneth at whitecape.org>
---
src/mesa/program/ir_to_mesa.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 86607ee..b08107b 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -155,7 +155,7 @@ namespace {
class ir_to_mesa_instruction : public exec_node {
public:
- DECLARE_RZALLOC_CXX_OPERATORS(ir_to_mesa_instruction)
+ DECLARE_RALLOC_CXX_OPERATORS(ir_to_mesa_instruction)
enum prog_opcode op;
dst_reg dst;
More information about the mesa-commit
mailing list