diff options
| author | Pavel Labath <pavel@labath.sk> | 2020-03-03 17:03:55 +0100 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2020-03-04 13:47:35 +0100 |
| commit | 3245dd59b124cbfce8cdce1f2c90e843d57d8722 (patch) | |
| tree | bc8e2324dc9ecb06d95a64194584bd5e4350e345 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
| parent | 7d2fdd3f6639731284dd8b6b274f01f04fd19215 (diff) | |
| download | llvm-3245dd59b124cbfce8cdce1f2c90e843d57d8722.zip llvm-3245dd59b124cbfce8cdce1f2c90e843d57d8722.tar.gz llvm-3245dd59b124cbfce8cdce1f2c90e843d57d8722.tar.bz2 | |
[lldb] Reduce duplication in CommandObjectDisassemble
This command had nearly identical code for the "then" and "else"
branches of the "if (m_options.num_instructions != 0)" condition.
This patch factors out the common parts of the two blocks to reduce
duplication.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions
