A64/translate/impl: Mark DecodeBitMasks and AdvSIMDExpandImm as static
These don't rely on instance state to perform their behavior. They're just helper functions.
This commit is contained in:
parent
23f56bdb67
commit
4f47861669
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ struct TranslatorVisitor final {
|
||||||
u64 wmask, tmask;
|
u64 wmask, tmask;
|
||||||
};
|
};
|
||||||
|
|
||||||
std::optional<BitMasks> DecodeBitMasks(bool immN, Imm<6> imms, Imm<6> immr, bool immediate);
|
static std::optional<BitMasks> DecodeBitMasks(bool immN, Imm<6> imms, Imm<6> immr, bool immediate);
|
||||||
u64 AdvSIMDExpandImm(bool op, Imm<4> cmode, Imm<8> imm8);
|
static u64 AdvSIMDExpandImm(bool op, Imm<4> cmode, Imm<8> imm8);
|
||||||
|
|
||||||
IR::UAny I(size_t bitsize, u64 value);
|
IR::UAny I(size_t bitsize, u64 value);
|
||||||
IR::UAny X(size_t bitsize, Reg reg);
|
IR::UAny X(size_t bitsize, Reg reg);
|
||||||
|
|
Loading…
Reference in a new issue