add a method

llvm-svn: 25884
This commit is contained in:
Chris Lattner 2006-02-01 22:38:46 +00:00
parent 8004ba8a2b
commit d202c4d3cc

View File

@ -95,6 +95,12 @@ namespace {
} }
} }
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
unsigned AsmVariant) {
printOperand(MI, OpNo);
return false;
}
void printU5ImmOperand(const MachineInstr *MI, unsigned OpNo) { void printU5ImmOperand(const MachineInstr *MI, unsigned OpNo) {
unsigned char value = MI->getOperand(OpNo).getImmedValue(); unsigned char value = MI->getOperand(OpNo).getImmedValue();
assert(value <= 31 && "Invalid u5imm argument!"); assert(value <= 31 && "Invalid u5imm argument!");