mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
fix build problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117828 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4fd32c6648
commit
8cc0a6b788
@ -1517,13 +1517,13 @@ static void EmitComputeAvailableFeatures(CodeGenTarget &Target,
|
||||
/// EmitMnemonicAliases - If the target has any MnemonicAlias<> definitions,
|
||||
/// emit a function for them and return true, otherwise return false.
|
||||
static bool EmitMnemonicAliases(raw_ostream &OS) {
|
||||
OS << "static void ApplyMnemonicAliases(StringRef &Mnemonic, "
|
||||
"unsigned Features) {\n";
|
||||
|
||||
std::vector<Record*> Aliases =
|
||||
Records.getAllDerivedDefinitions("MnemonicAlias");
|
||||
if (Aliases.empty()) return false;
|
||||
|
||||
OS << "static void ApplyMnemonicAliases(StringRef &Mnemonic, "
|
||||
"unsigned Features) {\n";
|
||||
|
||||
// Keep track of all the aliases from a mnemonic. Use an std::map so that the
|
||||
// iteration order of the map is stable.
|
||||
std::map<std::string, std::vector<Record*> > AliasesFromMnemonic;
|
||||
|
Loading…
Reference in New Issue
Block a user