[Lldb-commits] [lldb] r184177 - Update to new API.

Bill Wendling isanbard at gmail.com
Tue Jun 18 00:50:43 PDT 2013


Author: void
Date: Tue Jun 18 02:50:43 2013
New Revision: 184177

URL: http://llvm.org/viewvc/llvm-project?rev=184177&view=rev
Log:
Update to new API.

Modified:
    lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp

Modified: lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp?rev=184177&r1=184176&r2=184177&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp (original)
+++ lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp Tue Jun 18 02:50:43 2013
@@ -441,7 +441,7 @@ DisassemblerLLVMC::LLVMCDisassembler::LL
         return;
     }
     
-    m_context_ap.reset(new llvm::MCContext(*m_asm_info_ap.get(), *(m_reg_info_ap.get()), 0));
+    m_context_ap.reset(new llvm::MCContext(m_asm_info_ap.get(), m_reg_info_ap.get(), 0));
     
     m_disasm_ap.reset(curr_target->createMCDisassembler(*m_subtarget_info_ap.get()));
     if (m_disasm_ap.get() && m_context_ap.get())





More information about the lldb-commits mailing list