diff options
author | wscp <warpspeedscp@gmail.com> | 2023-10-25 21:17:34 +0530 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-11-02 07:53:55 -0700 |
commit | fdc8106ffa06b83f54a8115f2dc134cd82f912f3 (patch) | |
tree | d78c7a8261474f8c797cc68296ebb4dc7218a4be | |
parent | 8898f9cca4ec96734929d4a2c11435b9f825aec8 (diff) |
make RegShift::into_shift public
-rw-r--r-- | src/armv7.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armv7.rs b/src/armv7.rs index 276b807..2452f09 100644 --- a/src/armv7.rs +++ b/src/armv7.rs @@ -1105,7 +1105,7 @@ pub struct RegShift { } impl RegShift { - fn into_shift(&self) -> RegShiftStyle { + pub fn into_shift(&self) -> RegShiftStyle { if self.data & 0b10000 == 0 { RegShiftStyle::RegImm(RegImmShift { data: self.data }) } else { |