mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 05:40:09 +00:00
Replace | char of SystemZ insn enums
This commit is contained in:
parent
ca07088b26
commit
830c7a8e6f
@ -2601,6 +2601,7 @@ static inline std::string normalizedMnemonic(StringRef const &Mn,
|
||||
const bool Upper = true) {
|
||||
auto Mnemonic = Upper ? Mn.upper() : Mn.str();
|
||||
std::replace(Mnemonic.begin(), Mnemonic.end(), '.', '_');
|
||||
std::replace(Mnemonic.begin(), Mnemonic.end(), '|', '_');
|
||||
std::replace(Mnemonic.begin(), Mnemonic.end(), '+', 'p');
|
||||
std::replace(Mnemonic.begin(), Mnemonic.end(), '-', 'm');
|
||||
std::replace(Mnemonic.begin(), Mnemonic.end(), '/', 's');
|
||||
|
Loading…
Reference in New Issue
Block a user