diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-08-27 09:07:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 09:07:20 -0700 |
commit | f6b0c09214fd6805460689a36ed84489a8e89ef2 (patch) | |
tree | d6b2d5c214e7dd1ae66e3785e7182f512e207751 /lldb/source/Commands/CommandObjectScripting.cpp | |
parent | d58bd21150914b4a2304c24b04a714bfb251c594 (diff) | |
download | llvm-f6b0c09214fd6805460689a36ed84489a8e89ef2.zip llvm-f6b0c09214fd6805460689a36ed84489a8e89ef2.tar.gz llvm-f6b0c09214fd6805460689a36ed84489a8e89ef2.tar.bz2 |
[LiveDebugVariables] Use VirtRegMap::hasPhys. NFC (#106186)
Use hasPhys instead of MCRegister::isPhysicalRegister.
I think the MCRegister returned from getPhys can only contain a physical
register or 0. hasPhys checks that the register returned from getPhys is non-zero.
So I think they are equivalent in this usage.
Diffstat (limited to 'lldb/source/Commands/CommandObjectScripting.cpp')
0 files changed, 0 insertions, 0 deletions