O3: Fix uninitialized variable in the tournament branch predictor.

This commit is contained in:
Ali Saidi
2011-08-07 09:21:49 -07:00
parent 16882b0483
commit 4d83b8a799

View File

@@ -221,6 +221,7 @@ TournamentBP::uncondBr(void * &bp_history)
history->globalHistory = globalHistory;
history->localPredTaken = true;
history->globalPredTaken = true;
history->globalUsed = true;
bp_history = static_cast<void *>(history);
updateGlobalHistTaken();