summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-09-01 15:01:23 -0700
committerMatt Turner <mattst88@gmail.com>2014-09-24 09:42:46 -0700
commit49374fab5d793ed426e01f7fef82c87442c14860 (patch)
tree1d5755c949f793e7079b5dd31a5c31c47e80f399 /src/mesa/drivers/dri/i965/brw_fs_cse.cpp
parent3fe1a84bbe608c2a9676d0f80f778e716a505421 (diff)
i965: Make instruction lists local to the bblocks.
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@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.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
index 5615b13495..ea8ecf323d 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
@@ -254,12 +254,6 @@ fs_visitor::opt_cse_local(bblock_t *block)
fs_inst *prev = (fs_inst *)inst->prev;
inst->remove(block);
-
- /* Appending an instruction may have changed our bblock end. */
- if (inst == block->end) {
- block->end = prev;
- }
-
inst = prev;
}
}