Skip to content

Commit cea2742

Browse files
DavidSpickettyuxuanchen1997
authored andcommitted
[lldb][RISC-V] Remove unused variable
Summary: Added in a1ffabc. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60251580
1 parent e919a72 commit cea2742

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,6 @@ std::optional<DecodeResult> EmulateInstructionRISCV::Decode(uint32_t inst) {
622622
Log *log = GetLog(LLDBLog::Unwind);
623623

624624
uint16_t try_rvc = uint16_t(inst & 0x0000ffff);
625-
// check whether the compressed encode could be valid
626-
uint16_t mask = try_rvc & 0b11;
627625
uint8_t inst_type = RV64;
628626

629627
// Try to get size of RISCV instruction.

0 commit comments

Comments
 (0)