mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-25 13:05:04 +00:00
[NFC][GlobalISel] Fix case of local variable
This commit is contained in:
parent
eabf7ec3f3
commit
8bea83b8f5
@ -690,9 +690,9 @@ protected:
|
||||
bool isObviouslySafeToFold(MachineInstr &MI, MachineInstr &IntoMI) const;
|
||||
|
||||
template <typename Ty> static Ty readBytesAs(const uint8_t *MatchTable) {
|
||||
Ty res;
|
||||
memcpy(&res, MatchTable, sizeof(res));
|
||||
return res;
|
||||
Ty Ret;
|
||||
memcpy(&Ret, MatchTable, sizeof(Ret));
|
||||
return Ret;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user