diff options
author | Matt Turner <[email protected]> | 2016-11-28 13:24:04 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2016-11-29 11:53:36 -0800 |
commit | ca9e30e002db87946e93fe58118a740e6438d342 (patch) | |
tree | 2e8220d7f3e6c42d8c65a1d6fb0fd9451d0ff740 /src | |
parent | b8c9ce4459af5857c3f68f4bd6a3e33357e22337 (diff) |
i965/cfg: Initialize cfg_t::cycle_count.
This reverts commit b4001af1744a02f472bd1204458662088307981b.
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_cfg.cpp | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_cfg.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cfg.cpp b/src/mesa/drivers/dri/i965/brw_cfg.cpp index 53b32be510a..ff2cf6affad 100644 --- a/src/mesa/drivers/dri/i965/brw_cfg.cpp +++ b/src/mesa/drivers/dri/i965/brw_cfg.cpp @@ -158,6 +158,7 @@ cfg_t::cfg_t(exec_list *instructions) blocks = NULL; num_blocks = 0; idom_dirty = true; + cycle_count = 0; bblock_t *cur = NULL; int ip = 0; diff --git a/src/mesa/drivers/dri/i965/brw_cfg.h b/src/mesa/drivers/dri/i965/brw_cfg.h index ec21ae74c89..b8af40f725f 100644 --- a/src/mesa/drivers/dri/i965/brw_cfg.h +++ b/src/mesa/drivers/dri/i965/brw_cfg.h @@ -274,7 +274,7 @@ bblock_t::last_non_control_flow_inst() struct cfg_t { #ifdef __cplusplus - DECLARE_RZALLOC_CXX_OPERATORS(cfg_t) + DECLARE_RALLOC_CXX_OPERATORS(cfg_t) cfg_t(exec_list *instructions); ~cfg_t(); |