diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-03-29 18:49:54 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-03-19 23:56:44 +0100 |
| commit | b2dc8031654a536313fe77951ee04c74a3017e0b (patch) | |
| tree | d3fd2e6316d15640af487dea1534e58178b29848 /opcode.def | |
| parent | 701775cdf99d737aeaed00419eaff65d05ef1b57 (diff) | |
| download | sparse-dev-b2dc8031654a536313fe77951ee04c74a3017e0b.tar.gz | |
let insert_branch() reuse the terminating instruction
insert_branch() changes a switch or a conditional branch into a jump.
This is implemented by deleting the old instruction and allocating
the new one. This is not needed here since no reference to the
old instruction is kept.
So, simply reuse the terminating instruction and change it.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'opcode.def')
0 files changed, 0 insertions, 0 deletions
