diff options
author | Frederic Riss <friss@apple.com> | 2018-12-09 02:38:04 +0000 |
---|---|---|
committer | Frederic Riss <friss@apple.com> | 2018-12-09 02:38:04 +0000 |
commit | 06ece98ff82473761da7174ecc94ddfeb76dd554 (patch) | |
tree | 8510c45816427a92608916430cede7b86816965b /source/Plugins/Instruction | |
parent | f9ac005630f2dc2392246aa322f95911a0ee3b70 (diff) | |
download | lldb-06ece98ff82473761da7174ecc94ddfeb76dd554.tar.gz |
Revert a hunk that shouldn't have been included in the last commit.
I've seen this line trigger UB, but that's obviously not the correct fix...
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@348711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Plugins/Instruction')
-rw-r--r-- | source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp b/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp index b053f5a8f..bab249311 100644 --- a/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp +++ b/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp @@ -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); |