mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
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:
parent
1bf6361dfd
commit
16f046a6ce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user