O << '$';
O << MO.getImm();
return;
- case MachineOperand::MO_MachineBasicBlock:
- // FIXME: REMOVE
- assert(0 && "labels should only be used as pc-relative values");
- printBasicBlockLabel(MO.getMBB(), false, false, VerboseAsm);
- return;
case MachineOperand::MO_JumpTableIndex: {
bool isMemOp = Modifier && !strcmp(Modifier, "mem");
if (!isMemOp) O << '$';
O << '$';
O << Op.getImm();
return;
- } else if (Op.isMBBLabel()) {
- assert(0 && "labels should only be used as pc-relative values");
- // FIXME: Keep in sync with printBasicBlockLabel. printBasicBlockLabel
- // should eventually call into this code, not the other way around.
-
- O << TAI->getPrivateGlobalPrefix() << "BB" << Op.getMBBLabelFunction()
- << '_' << Op.getMBBLabelBlock();
-
- // FIXME: with verbose asm print llvm bb name, add to operand.
- return;
}
O << "<<UNKNOWN OPERAND KIND>>";
case MachineOperand::MO_Immediate:
O << MO.getImm();
return;
- case MachineOperand::MO_MachineBasicBlock:
- // FIXME: REMOVE
- assert(0 && "labels should only be used as pc-relative values");
- printBasicBlockLabel(MO.getMBB());
- return;
case MachineOperand::MO_JumpTableIndex: {
bool isMemOp = Modifier && !strcmp(Modifier, "mem");
if (!isMemOp) O << "OFFSET ";