[Lldb-commits] [lldb] r182683 - Update countTrailingZeros function usage to match llvm's r182667.

Filipe Cabecinhas me at filcab.net
Fri May 24 15:24:18 PDT 2013


Author: filcab
Date: Fri May 24 17:24:17 2013
New Revision: 182683

URL: http://llvm.org/viewvc/llvm-project?rev=182683&view=rev
Log:
Update countTrailingZeros function usage to match llvm's r182667.

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=182683&r1=182682&r2=182683&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp (original)
+++ lldb/trunk/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp Fri May 24 17:24:17 2013
@@ -25,7 +25,7 @@
 #include "Utility/ARM_DWARF_Registers.h"
 
 #include "llvm/Support/MathExtras.h" // for SignExtend32 template function
-                                     // and CountTrailingZeros_32 function
+                                     // and countTrailingZeros function
 
 using namespace lldb;
 using namespace lldb_private;
@@ -47,7 +47,7 @@ using namespace lldb_private;
 static uint32_t
 CountITSize (uint32_t ITMask) {
     // First count the trailing zeros of the IT mask.
-    uint32_t TZ = llvm::CountTrailingZeros_32(ITMask);
+    uint32_t TZ = llvm::countTrailingZeros(ITMask);
     if (TZ > 3)
     {
         printf("Encoding error: IT Mask '0000'\n");





More information about the lldb-commits mailing list