diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-02-28 14:30:28 +0100 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2017-03-06 08:45:58 +0800 |
| commit | 8ed1b1006d2072e83b0a6b825b0fe6c6d37e8ae0 (patch) | |
| tree | 59d99b92bc603ae391756a620a71673b34762a69 | |
| parent | 86bcec7afa667010d6f38f11a09ada960fd20dbf (diff) | |
| download | sparse-dev-8ed1b1006d2072e83b0a6b825b0fe6c6d37e8ae0.tar.gz | |
remove unused helper is_branch_goto()
This helper is also made unneeded since the introduction of OP_CBR.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
| -rw-r--r-- | linearize.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linearize.h b/linearize.h index 2aa25515..bac82d7f 100644 --- a/linearize.h +++ b/linearize.h @@ -237,10 +237,6 @@ struct basic_block { }; }; -static inline int is_branch_goto(struct instruction *br) -{ - return br && br->opcode==OP_BR && (!br->bb_true || !br->bb_false); -} static inline void add_bb(struct basic_block_list **list, struct basic_block *bb) { |
