diff options
author | Eric Anholt <eric@anholt.net> | 2010-05-05 09:31:53 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-05-05 09:32:44 -0700 |
commit | 8e75de31649f877f24f460bc887c827227968403 (patch) | |
tree | 59c44a4285977eb9611617c4d3a7d15ca7f00d40 /ir_basic_block.h | |
parent | 4e2c0b99d932577d082b95d54e4ed1ba1d5d686b (diff) |
ir_copy_propagation: Return true if we optimized out any assignments.
This may trigger other optimization phases to make more progress themselves.
Diffstat (limited to 'ir_basic_block.h')
-rw-r--r-- | ir_basic_block.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ir_basic_block.h b/ir_basic_block.h index e7993b3b04..dbd678b5c4 100644 --- a/ir_basic_block.h +++ b/ir_basic_block.h @@ -23,4 +23,6 @@ void call_for_basic_blocks(exec_list *instructions, void (*callback)(ir_instruction *first, - ir_instruction *last)); + ir_instruction *last, + void *data), + void *data); |