diff options
| author | Maksim Panchenko <maks@fb.com> | 2024-02-27 18:44:28 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-27 18:44:28 -0800 |
| commit | 7c206c7812408f152baffa3c73f765b7d9ffdf18 (patch) | |
| tree | f3641def0dbb62c3cf7678cefe285f625b00036f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 1f2a1a72ae6615ce80fcd6f1185d1cde607377d2 (diff) | |
[BOLT] Refactor interface for instruction labels. NFCI (#83209)
To avoid accidentally setting the label twice for the same instruction,
which can lead to a "lost" label, introduce getOrSetInstLabel()
function. Rename existing functions to getInstLabel()/setInstLabel() to
make it explicit that they operate on instruction labels. Add an
assertion in setInstLabel() that the instruction did not have a prior
label set.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
