summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
index 663b61f3859..055444d4c99 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
@@ -162,10 +162,10 @@ fs_copy_prop_dataflow::setup_kills()
void
fs_copy_prop_dataflow::run()
{
- bool cont;
+ bool progress;
do {
- cont = false;
+ progress = false;
for (int b = 0; b < cfg->num_blocks; b++) {
for (int i = 0; i < bitset_words; i++) {
@@ -174,7 +174,7 @@ fs_copy_prop_dataflow::run()
~bd[b].liveout[i]);
if (new_liveout) {
bd[b].liveout[i] |= new_liveout;
- cont = true;
+ progress = true;
}
/* Update livein: if it's live at the end of all parents, it's
@@ -190,11 +190,11 @@ fs_copy_prop_dataflow::run()
}
if (new_livein) {
bd[b].livein[i] |= new_livein;
- cont = true;
+ progress = true;
}
}
}
- } while (cont);
+ } while (progress);
}
bool