[Lldb-commits] [lldb] r232620 - Fix a typo in EmulateInstructioinMIPS64

Pavel Labath labath at google.com
Wed Mar 18 02:57:11 PDT 2015


Author: labath
Date: Wed Mar 18 04:57:10 2015
New Revision: 232620

URL: http://llvm.org/viewvc/llvm-project?rev=232620&view=rev
Log:
Fix a typo in EmulateInstructioinMIPS64

Modified:
    lldb/trunk/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp

Modified: lldb/trunk/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp?rev=232620&r1=232619&r2=232620&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp (original)
+++ lldb/trunk/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp Wed Mar 18 04:57:10 2015
@@ -432,7 +432,7 @@ EmulateInstructionMIPS64::Emulate_load (
     Context context_t;
 
     /* We are looking for "saved register" being restored from stack */
-    if (!n == 29 || !nonvolatile_reg_p(t))
+    if (!(n == 29) || !nonvolatile_reg_p(t))
         return false;
 
     context_t.type = eContextRegisterLoad;





More information about the lldb-commits mailing list