From: Dan Gohman Date: Fri, 6 Nov 2009 18:03:10 +0000 (+0000) Subject: Use WriteAsOperand to print GlobalAddress MachineOperands. This X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8d4e3b5b48b245ed65259270a53fcaf0bf91d9f7;p=oota-llvm.git Use WriteAsOperand to print GlobalAddress MachineOperands. This prints them with the leading '@'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86261 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index 5744c8a5455..bd1815889b4 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/lib/CodeGen/MachineInstr.cpp @@ -265,7 +265,8 @@ void MachineOperand::print(raw_ostream &OS, const TargetMachine *TM) const { OS << "'; break; case MachineOperand::MO_GlobalAddress: - OS << "getName(); + OS << "'; break;