summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/UnwindAssembly/InstEmulation
diff options
context:
space:
mode:
authorJean-Daniel Dupas <devlists@shadowlab.org>2014-07-02 09:51:28 +0000
committerJean-Daniel Dupas <devlists@shadowlab.org>2014-07-02 09:51:28 +0000
commite7c7c3de9324000feedbf1e332db3e1cedb0a49c (patch)
treeefa93c3a4285a5dec7b719c33cbc658e5fb813ac /lldb/source/Plugins/UnwindAssembly/InstEmulation
parent70fc29ca86f0f852ed0e3d007cff7b45bb396e7c (diff)
downloadbcm5719-llvm-e7c7c3de9324000feedbf1e332db3e1cedb0a49c.tar.gz
bcm5719-llvm-e7c7c3de9324000feedbf1e332db3e1cedb0a49c.zip
Replace uint32_t by lldb::RegisterKing in register context API.
llvm-svn: 212172
Diffstat (limited to 'lldb/source/Plugins/UnwindAssembly/InstEmulation')
-rw-r--r--lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
index 5379cf29f5c..42453ce72fa 100644
--- a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
+++ b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
@@ -358,7 +358,8 @@ UnwindAssemblyInstEmulation::GetPluginDescriptionStatic()
uint64_t
UnwindAssemblyInstEmulation::MakeRegisterKindValuePair (const RegisterInfo &reg_info)
{
- uint32_t reg_kind, reg_num;
+ lldb::RegisterKind reg_kind;
+ uint32_t reg_num;
if (EmulateInstruction::GetBestRegisterKindAndNumber (&reg_info, reg_kind, reg_num))
return (uint64_t)reg_kind << 24 | reg_num;
return 0ull;
OpenPOWER on IntegriCloud