diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-10-30 18:57:07 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-10-30 18:57:07 +0000 |
| commit | ec56397eb4c30fe3873eb7b80742219165f91a80 (patch) | |
| tree | 1b42317ccfbdcc7e44087761350066390c95a17d | |
| parent | cf9b6e31071f13eb5ddbb52339a0b6cefe1121d8 (diff) | |
| download | bcm5719-llvm-ec56397eb4c30fe3873eb7b80742219165f91a80.tar.gz bcm5719-llvm-ec56397eb4c30fe3873eb7b80742219165f91a80.zip | |
fix build problem
llvm-svn: 117828
| -rw-r--r-- | llvm/utils/TableGen/AsmMatcherEmitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp index 8cc766e4619..2fa44b1b136 100644 --- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp +++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp @@ -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; |

