Rename CS_AC_READ_WRTE to CS_AC_READ_WRITE

Following https://github.com/capstone-engine/capstone/pull/2358
This commit is contained in:
Jiajie Chen 2024-05-19 10:51:02 +08:00 committed by Rot127
parent 5c6d1fa0c9
commit 16baaaf307

View File

@ -2619,7 +2619,7 @@ std::string getArchSupplInfoAArch64(CodeGenInstruction const *CGI) {
// Compute memory access type
std::string MemoryAccess;
if (CGI->mayLoad && CGI->mayStore) {
MemoryAccess = "CS_AC_READ_WRTE";
MemoryAccess = "CS_AC_READ_WRITE";
} else if (CGI->mayLoad && !CGI->mayStore) {
MemoryAccess = "CS_AC_READ";
} else if (!CGI->mayLoad && CGI->mayStore) {
@ -2675,7 +2675,7 @@ std::string getArchSupplInfoLoongArch(StringRef const &TargetName,
// Compute memory access type
std::string MemoryAccess;
if (CGI->mayLoad && CGI->mayStore) {
MemoryAccess = "CS_AC_READ_WRTE";
MemoryAccess = "CS_AC_READ_WRITE";
} else if (CGI->mayLoad && !CGI->mayStore) {
MemoryAccess = "CS_AC_READ";
} else if (!CGI->mayLoad && CGI->mayStore) {