[Lldb-commits] [lldb] r125569 - /lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp

Johnny Chen johnny.chen at apple.com
Tue Feb 15 09:31:33 PST 2011


Author: johnny
Date: Tue Feb 15 11:31:33 2011
New Revision: 125569

URL: http://llvm.org/viewvc/llvm-project?rev=125569&view=rev
Log:
Remove the unnecessary assignment of m_inst_cpsr inside EvaluateInstruction(),
because it's already been done within ReadInstruction().

Modified:
    lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp

Modified: lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp?rev=125569&r1=125568&r2=125569&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp (original)
+++ lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp Tue Feb 15 11:31:33 2011
@@ -3549,9 +3549,5 @@
     if (m_inst_mode == eModeThumb && m_it_session.InITBlock())
         m_it_session.ITAdvance();
 
-    // If the flags have changed, flush it out.
-    if (m_new_inst_cpsr != m_inst_cpsr)
-        m_inst_cpsr = m_new_inst_cpsr;
-
     return false;
 }





More information about the lldb-commits mailing list