summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-06-24 16:31:38 -0700
committerMatt Turner <mattst88@gmail.com>2014-07-01 08:55:51 -0700
commit266109736a9a69c3fdbe49fe1665a7a63c5cc122 (patch)
treeb3fa310a9a6a5b59c77af877b513f427d3135c64 /src/mesa/drivers/dri/i965/brw_fs_cse.cpp
parentc5030ac0ac15d3c91c4352789f94281da9a9dcad (diff)
downloadexternal_mesa3d-266109736a9a69c3fdbe49fe1665a7a63c5cc122.zip
external_mesa3d-266109736a9a69c3fdbe49fe1665a7a63c5cc122.tar.gz
external_mesa3d-266109736a9a69c3fdbe49fe1665a7a63c5cc122.tar.bz2
i965: Use typed foreach_in_list_safe instead of foreach_list_safe.
Acked-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_cse.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_cse.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
index e4068fc..381c569 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
@@ -264,9 +264,7 @@ fs_visitor::opt_cse_local(bblock_t *block, exec_list *aeb)
}
}
- foreach_list_safe(entry_node, aeb) {
- aeb_entry *entry = (aeb_entry *)entry_node;
-
+ foreach_in_list_safe(aeb_entry, entry, aeb) {
/* Kill all AEB entries that write a different value to or read from
* the flag register if we just wrote it.
*/