Actually, name the method PrintSpecial to match other stuff in AsmPrinter.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30618 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-09-26 23:47:10 +00:00
parent 1bf6361dfd
commit 16f046a6ce

View File

@ -175,7 +175,7 @@ AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned Variant) {
// Modifier - Support ${foo:modifier} syntax, where "modifier" is passed
// into printOperand. Also support ${:feature}, which is passed into
// printSpecial.
// PrintSpecial.
std::string Modifier;
// In order to avoid starting the next string at the terminating curly
@ -212,8 +212,8 @@ AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned Variant) {
"' asm string, maybe you want $$?";
if (VarName.empty()) {
// Just a modifier, pass this into printSpecial.
Operands.push_back(AsmWriterOperand("printSpecial", ~0U, Modifier));
// Just a modifier, pass this into PrintSpecial.
Operands.push_back(AsmWriterOperand("PrintSpecial", ~0U, Modifier));
} else {
// Otherwise, normal operand.
unsigned OpNo = CGI.getOperandNamed(VarName);