1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Call static functions so that they aren't left unused.

llvm-svn: 128020
This commit is contained in:
Bill Wendling 2011-03-21 21:08:27 +00:00
parent 4a5e013ca8
commit 52c4596a0f

View File

@ -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