diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-03-21 21:08:27 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-03-21 21:08:27 +0000 |
commit | 8a77af8eacf6709f3829307565f6ee8aa8f2c0ef (patch) | |
tree | ba9b96b248addd7d44281494424251dc5e60ed88 /utils | |
parent | a796fa547fc85f48d761cf3181887c5188ebe148 (diff) | |
download | external_llvm-8a77af8eacf6709f3829307565f6ee8aa8f2c0ef.zip external_llvm-8a77af8eacf6709f3829307565f6ee8aa8f2c0ef.tar.gz external_llvm-8a77af8eacf6709f3829307565f6ee8aa8f2c0ef.tar.bz2 |
Call static functions so that they aren't left unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/AsmWriterEmitter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp index 450854d..7c5c9e4 100644 --- a/utils/TableGen/AsmWriterEmitter.cpp +++ b/utils/TableGen/AsmWriterEmitter.cpp @@ -847,7 +847,6 @@ void AsmWriterEmitter::EmitPrintAliasInstruction(raw_ostream &O) { AliasMap[getQualifiedName(Op->getDef())].push_back(Alias); } -#if 0 // A map of which conditions need to be met for each instruction operand // before it can be matched to the mnemonic. std::map<std::string, std::vector<IAPrinter*> > IAPrinterMap; @@ -930,15 +929,18 @@ void AsmWriterEmitter::EmitPrintAliasInstruction(raw_ostream &O) { if (CantHandle) continue; IAPrinterMap[I->first].push_back(IAP); +#if 0 O.indent(4) << "// " << I->first << '\n'; O.indent(4); IAP->print(O); +#endif } } + O << "#if 0\n"; EmitSubtargetFeatureFlagEnumeration(AWI, O); EmitComputeAvailableFeatures(AWI, AsmWriter, Target, O); -#endif + O << "#endif\n\n"; O << "bool " << Target.getName() << ClassName << "::printAliasInstr(const " << MachineInstrClassName |