diff options
author | Francisco Jerez <[email protected]> | 2013-09-20 16:31:16 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2013-10-01 17:30:51 -0700 |
commit | a5d843ebdf771cb0a2ac46512679f19dd5550535 (patch) | |
tree | 6cc8b09b440d79c653758a685a89b5b2cb169093 /SConstruct | |
parent | ddd694293ad610f8ef80750d0f50e97d4909fb53 (diff) |
i965: Switch ip_record to the non-zeroing allocator.
All member variables of ip_record are already being initialized from
its constructor, it's not necessary to use rzalloc to allocate its
memory, and doing so makes it more likely that we will start relying
on the allocator to zero out all memory if the class is ever extended
with new member variables.
That's bad because it ties objects to some specific allocation scheme,
and gives unpredictable results when an object is created with a
different allocator -- Stack allocation, array allocation, or
aggregation inside a different object are some of the useful
possibilities that come to my mind.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions