diff options
author | Matt Turner <[email protected]> | 2013-11-28 23:39:02 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-12-04 20:05:41 -0800 |
commit | f4b50a14667879187d9d263b50bb6b0620bf1e29 (patch) | |
tree | 74063511c625906fe9b47d1134b120b9e9fec91d | |
parent | 2eb9bbfb6889a7a2f864aa110134f75fc224edee (diff) |
i965/cfg: Remove unnecessary endif_stack.
Unnecessary since last commit.
Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_cfg.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cfg.cpp b/src/mesa/drivers/dri/i965/brw_cfg.cpp index 9dffa63ef4d..57b3e894508 100644 --- a/src/mesa/drivers/dri/i965/brw_cfg.cpp +++ b/src/mesa/drivers/dri/i965/brw_cfg.cpp @@ -107,7 +107,7 @@ cfg_t::create(void *parent_mem_ctx, exec_list *instructions) bblock_t *entry = new_block(); bblock_t *cur_if = NULL, *cur_else = NULL, *cur_endif = NULL; bblock_t *cur_do = NULL, *cur_while = NULL; - exec_list if_stack, else_stack, endif_stack, do_stack, while_stack; + exec_list if_stack, else_stack, do_stack, while_stack; bblock_t *next; set_next_block(entry); @@ -129,7 +129,6 @@ cfg_t::create(void *parent_mem_ctx, exec_list *instructions) */ if_stack.push_tail(cur_if->make_list(mem_ctx)); else_stack.push_tail(cur_else->make_list(mem_ctx)); - endif_stack.push_tail(cur_endif->make_list(mem_ctx)); cur_if = cur; cur_else = NULL; @@ -201,7 +200,6 @@ cfg_t::create(void *parent_mem_ctx, exec_list *instructions) /* Pop the stack so we're in the previous if/else/endif */ cur_if = pop_stack(&if_stack); cur_else = pop_stack(&else_stack); - cur_endif = pop_stack(&endif_stack); break; } case BRW_OPCODE_DO: |