Revert a hunk that shouldn't have been included in the last commit.
authorFrederic Riss <friss@apple.com>
Sun, 9 Dec 2018 02:38:04 +0000 (02:38 +0000)
committerFrederic Riss <friss@apple.com>
Sun, 9 Dec 2018 02:38:04 +0000 (02:38 +0000)
I've seen this line trigger UB, but that's obviously not the correct fix...

llvm-svn: 348711

lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp

index b053f5a..bab2493 100644 (file)
@@ -90,7 +90,7 @@ static inline uint64_t
 AddWithCarry(uint32_t N, uint64_t x, uint64_t y, bit carry_in,
              EmulateInstructionARM64::ProcState &proc_state) {
   uint64_t unsigned_sum = UInt(x) + UInt(y) + UInt(carry_in);
-  int64_t signed_sum = 0;//SInt(x) + SInt(y) + UInt(carry_in);
+  int64_t signed_sum = SInt(x) + SInt(y) + UInt(carry_in);
   uint64_t result = unsigned_sum;
   if (N < 64)
     result = Bits64(result, N - 1, 0);