summaryrefslogtreecommitdiff
path: root/lldb/source/DataFormatters/FormatterBytecode.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2024-12-10 17:09:44 -0800
committerAdrian Prantl <aprantl@apple.com>2024-12-10 17:09:44 -0800
commitc00a708fc954f450679bf0e171029f8da4841cfb (patch)
tree6b4d8a2d63e77a68af08e29ef12fcdbac51b6565 /lldb/source/DataFormatters/FormatterBytecode.cpp
parent1593f36935edc97bede71bd1d722edf83eaf16a4 (diff)
[lldb] Eliminate dead code (NFC)
Diffstat (limited to 'lldb/source/DataFormatters/FormatterBytecode.cpp')
-rw-r--r--lldb/source/DataFormatters/FormatterBytecode.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/DataFormatters/FormatterBytecode.cpp b/lldb/source/DataFormatters/FormatterBytecode.cpp
index a8975494b836..f344fbaff6f0 100644
--- a/lldb/source/DataFormatters/FormatterBytecode.cpp
+++ b/lldb/source/DataFormatters/FormatterBytecode.cpp
@@ -392,8 +392,6 @@ llvm::Error Interpret(std::vector<ControlStackElement> &control,
int64_t x = data.Pop<int64_t>(); \
if (y > 64) \
return error("shift out of bounds"); \
- if (y < 0) \
- return error("shift out of bounds"); \
data.Push(x OP y); \
} else \
return error("unsupported data types"); \