diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-11-22 09:59:59 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-01-07 16:09:53 +0100 |
| commit | f0486bd8e2fffa1049fa4d0abcebfb5c426aa16b (patch) | |
| tree | 48429cc69daa371d1f3b30756679ad6a0e268d98 /lib.h | |
| parent | 3552e6b487496ee42ca40eceb3af66eaf12ce6a9 (diff) | |
| download | sparse-dev-f0486bd8e2fffa1049fa4d0abcebfb5c426aa16b.tar.gz | |
cleanup: remove unused delete_last_basic_block()
Not only it is unused but given how basic blocks are processed
there is no chance it will ever be used.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'lib.h')
| -rw-r--r-- | lib.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -225,11 +225,6 @@ static inline struct instruction * delete_last_instruction(struct instruction_li return undo_ptr_list_last((struct ptr_list **)head); } -static inline struct basic_block * delete_last_basic_block(struct basic_block_list **head) -{ - return delete_ptr_list_last((struct ptr_list **)head); -} - static inline struct basic_block *first_basic_block(struct basic_block_list *head) { return first_ptr_list((struct ptr_list *)head); |
