diff options
author | Greg Clayton <gclayton@apple.com> | 2011-09-27 00:58:45 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-09-27 00:58:45 +0000 |
commit | fb0655ef59f52c81c8998e51477157e7794d7c05 (patch) | |
tree | c3cc61410a497f3d93b329d5856c4ae47992db04 /lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp | |
parent | 581243919d9e2b06c65cb4c55834819dc75cb6d3 (diff) | |
download | bcm5719-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.cpp | 12 |
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 |