Actually, name the method PrintSpecial to match other stuff in AsmPrinter.h
authorChris Lattner <sabre@nondot.org>
Tue, 26 Sep 2006 23:47:10 +0000 (23:47 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 26 Sep 2006 23:47:10 +0000 (23:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30618 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/AsmWriterEmitter.cpp

index a67ee531a654a5a2b4cd2505c47016f146d28e49..93ac6b9e14dddb1827d44b135e0b911bc5358fd5 100644 (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);