projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23e8673
)
mesa/program: Switch ir_to_mesa_instruction to the non-zeroing allocator.
author
Francisco Jerez
<currojerez@riseup.net>
Mon, 30 Sep 2013 17:53:16 +0000
(10:53 -0700)
committer
Francisco Jerez
<currojerez@riseup.net>
Wed, 2 Oct 2013 00:30:52 +0000
(17:30 -0700)
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@whitecape.org>
src/mesa/program/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/program/ir_to_mesa.cpp
b/src/mesa/program/ir_to_mesa.cpp
index 86607eea07720a34b51407348c6d0fa5b6181173..b08107b1c90e436fe0d215d29d69f3f2b6297af7 100644
(file)
--- 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_R
Z
ALLOC_CXX_OPERATORS(ir_to_mesa_instruction)
+ DECLARE_RALLOC_CXX_OPERATORS(ir_to_mesa_instruction)
enum prog_opcode op;
dst_reg dst;