i965/cfg: Initialize cfg_t::cycle_count.

This reverts commit b4001af174.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
Matt Turner 2016-11-28 13:24:04 -08:00
parent b8c9ce4459
commit ca9e30e002
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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();