diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-03-16 15:32:50 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-04-03 17:18:20 +0100 |
commit | 22480d7c3977df6a111a1c1ab56982372732f4e5 (patch) | |
tree | e6bf10d7b7fbf3d2f1418f3ad183f8b308d20ac7 /gdb/python | |
parent | 5187219460cd1ba877c555a67adb283c7a2f0d25 (diff) | |
download | binutils-22480d7c3977df6a111a1c1ab56982372732f4e5.zip binutils-22480d7c3977df6a111a1c1ab56982372732f4e5.tar.gz binutils-22480d7c3977df6a111a1c1ab56982372732f4e5.tar.bz2 |
gdb: small simplification in dwarf2_locexpr_baton_eval
While examining the dwarf expression evaluator, I noticed that in
dwarf2_locexpr_baton_eval, whenever push_initial_value is true, the
addr_stack will never be nullptr.
This allows for a small cleanup, replacing an if/then/else with an
assertion.
There should be no user visible changes after this commit.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions