diff options
-rw-r--r-- | lib/Target/X86/X86CodeEmitter.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/Target/X86/X86CodeEmitter.cpp b/lib/Target/X86/X86CodeEmitter.cpp index e0fe1c1..ec93eb4 100644 --- a/lib/Target/X86/X86CodeEmitter.cpp +++ b/lib/Target/X86/X86CodeEmitter.cpp @@ -516,11 +516,13 @@ void Emitter::emitInstruction(const MachineInstr &MI, if (CurOp != NumOps) { const MachineOperand &MO = MI.getOperand(CurOp++); -DOUT << "RawFrm CurOp " << CurOp << "\n"; -DOUT << "isMachineBasicBlock " << MO.isMachineBasicBlock() << "\n"; -DOUT << "isGlobalAddress " << MO.isGlobalAddress() << "\n"; -DOUT << "isExternalSymbol " << MO.isExternalSymbol() << "\n"; -DOUT << "isImmediate " << MO.isImmediate() << "\n"; + + DOUT << "RawFrm CurOp " << CurOp << "\n"; + DOUT << "isMachineBasicBlock " << MO.isMachineBasicBlock() << "\n"; + DOUT << "isGlobalAddress " << MO.isGlobalAddress() << "\n"; + DOUT << "isExternalSymbol " << MO.isExternalSymbol() << "\n"; + DOUT << "isImmediate " << MO.isImmediate() << "\n"; + if (MO.isMachineBasicBlock()) { emitPCRelativeBlockAddress(MO.getMBB()); } else if (MO.isGlobalAddress()) { |