[Lldb-commits] [lldb] r321651 - [ARM64] Remove unused function. NFCI.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 2 08:22:09 PST 2018


Author: davide
Date: Tue Jan  2 08:22:09 2018
New Revision: 321651

URL: http://llvm.org/viewvc/llvm-project?rev=321651&view=rev
Log:
[ARM64] Remove unused function. NFCI.

Modified:
    lldb/trunk/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp

Modified: lldb/trunk/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp?rev=321651&r1=321650&r2=321651&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp (original)
+++ lldb/trunk/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp Tue Jan  2 08:22:09 2018
@@ -76,19 +76,6 @@ static inline bool IsZero(uint64_t x) {
 
 static inline uint64_t NOT(uint64_t x) { return ~x; }
 
-#if 0
-// LSL_C() 
-// =======
-static inline uint64_t
-LSL_C (uint64_t x, integer shift, bool &carry_out)
-{
-    assert (shift >= 0); 
-    uint64_t result = x << shift;
-    carry_out = ((1ull << (64-1)) >> (shift - 1)) != 0;
-    return result;
-}
-#endif
-
 // LSL()
 // =====
 




More information about the lldb-commits mailing list