diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2016-11-30 04:46:05 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-02-16 09:30:46 +0100 |
| commit | a5b1604864cd4bcf500f45bdf8a126be708feb33 (patch) | |
| tree | b6a2129bd6f39f9271fd2eb98ae46ed3e3f9b5b3 /linearize.h | |
| parent | 4c24b77bffc1f6a7db5e9b20ac8dff7e8b480d75 (diff) | |
| download | sparse-dev-a5b1604864cd4bcf500f45bdf8a126be708feb33.tar.gz | |
cleanup: remove unused 'struct pseudo_ptr_list'
'struct pseudo_ptr_list' was used to store pseudo usage
but this structure is not used since commit e7fb6e092
(Add instruction to pseudo user tracking).
Remove the leftovers.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'linearize.h')
| -rw-r--r-- | linearize.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/linearize.h b/linearize.h index 15a6be9c..fc00041d 100644 --- a/linearize.h +++ b/linearize.h @@ -9,7 +9,6 @@ #include "symbol.h" struct instruction; -DECLARE_PTR_LIST(pseudo_ptr_list, pseudo_t); struct pseudo_user { struct instruction *insn; @@ -310,11 +309,6 @@ static inline int bb_reachable(struct basic_block *bb) return bb != NULL; } -static inline void add_pseudo_ptr(pseudo_t *ptr, struct pseudo_ptr_list **list) -{ - add_ptr_list(list, ptr); -} - static inline void add_pseudo_user_ptr(struct pseudo_user *user, struct pseudo_user_list **list) { add_ptr_list(list, user); |
