aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_cfg.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-09-02 17:53:04 -0700
committerMatt Turner <[email protected]>2014-09-24 09:42:46 -0700
commit444fc0b4a837a669c585f52b1d814300cfc9c999 (patch)
tree09f0acf7951548cc0fa0aeda9243ca4847e4b594 /src/mesa/drivers/dri/i965/brw_cfg.cpp
parent49374fab5d793ed426e01f7fef82c87442c14860 (diff)
i965: Call insert and remove functions from exec_node directly.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_cfg.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_cfg.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cfg.cpp b/src/mesa/drivers/dri/i965/brw_cfg.cpp
index ac6f5e0e801..bb49a0ae955 100644
--- a/src/mesa/drivers/dri/i965/brw_cfg.cpp
+++ b/src/mesa/drivers/dri/i965/brw_cfg.cpp
@@ -180,7 +180,7 @@ cfg_t::cfg_t(exec_list *instructions)
switch (inst->opcode) {
case BRW_OPCODE_IF:
- inst->remove();
+ inst->exec_node::remove();
cur->instructions.push_tail(inst);
/* Push our information onto a stack so we can recover from
@@ -203,7 +203,7 @@ cfg_t::cfg_t(exec_list *instructions)
break;
case BRW_OPCODE_ELSE:
- inst->remove();
+ inst->exec_node::remove();
cur->instructions.push_tail(inst);
cur_else = cur;
@@ -226,7 +226,7 @@ cfg_t::cfg_t(exec_list *instructions)
set_next_block(&cur, cur_endif, ip - 1);
}
- inst->remove();
+ inst->exec_node::remove();
cur->instructions.push_tail(inst);
if (cur_else) {
@@ -277,12 +277,12 @@ cfg_t::cfg_t(exec_list *instructions)
set_next_block(&cur, cur_do, ip - 1);
}
- inst->remove();
+ inst->exec_node::remove();
cur->instructions.push_tail(inst);
break;
case BRW_OPCODE_CONTINUE:
- inst->remove();
+ inst->exec_node::remove();
cur->instructions.push_tail(inst);
cur->add_successor(mem_ctx, cur_do);
@@ -295,7 +295,7 @@ cfg_t::cfg_t(exec_list *instructions)
break;
case BRW_OPCODE_BREAK:
- inst->remove();
+ inst->exec_node::remove();
cur->instructions.push_tail(inst);
cur->add_successor(mem_ctx, cur_while);
@@ -308,7 +308,7 @@ cfg_t::cfg_t(exec_list *instructions)
break;
case BRW_OPCODE_WHILE:
- inst->remove();
+ inst->exec_node::remove();
cur->instructions.push_tail(inst);
cur->add_successor(mem_ctx, cur_do);
@@ -320,7 +320,7 @@ cfg_t::cfg_t(exec_list *instructions)
break;
default:
- inst->remove();
+ inst->exec_node::remove();
cur->instructions.push_tail(inst);
break;
}