summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-09-27 00:58:45 +0000
committerGreg Clayton <gclayton@apple.com>2011-09-27 00:58:45 +0000
commitfb0655ef59f52c81c8998e51477157e7794d7c05 (patch)
treec3cc61410a497f3d93b329d5856c4ae47992db04 /lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
parent581243919d9e2b06c65cb4c55834819dc75cb6d3 (diff)
downloadbcm5719-llvm-fb0655ef59f52c81c8998e51477157e7794d7c05.tar.gz
bcm5719-llvm-fb0655ef59f52c81c8998e51477157e7794d7c05.zip
Fixed the public and internal disassembler API to be named correctly:
const char * SBInstruction::GetMnemonic() const char * SBInstruction::GetOperands() const char * SBInstruction::GetComment() Fixed the symbolicate example script and the internals. llvm-svn: 140591
Diffstat (limited to 'lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp')
-rw-r--r--lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp b/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
index 610271deb98..97831eaffa6 100644
--- a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
+++ b/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
@@ -430,7 +430,7 @@ InstructionLLVM::Dump
}
void
-InstructionLLVM::CalculateOpcodeName (ExecutionContextScope *exe_scope)
+InstructionLLVM::CalculateMnemonic (ExecutionContextScope *exe_scope)
{
const int num_tokens = EDNumTokens(m_inst);
if (num_tokens > 0)
@@ -554,17 +554,17 @@ InstructionLLVM::CalculateOpcodeName (ExecutionContextScope *exe_scope)
}
void
-InstructionLLVM::CalculateMnemonics(ExecutionContextScope *exe_scope)
+InstructionLLVM::CalculateOperands(ExecutionContextScope *exe_scope)
{
- // Do all of the work in CalculateOpcodeName()
- CalculateOpcodeName (exe_scope);
+ // Do all of the work in CalculateMnemonic()
+ CalculateMnemonic (exe_scope);
}
void
InstructionLLVM::CalculateComment(ExecutionContextScope *exe_scope)
{
- // Do all of the work in CalculateOpcodeName()
- CalculateOpcodeName (exe_scope);
+ // Do all of the work in CalculateMnemonic()
+ CalculateMnemonic (exe_scope);
}
bool
OpenPOWER on IntegriCloud